Jenkinsfile
This commit is contained in:
parent
4046b6e91b
commit
cb095b2f0e
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -31,9 +31,12 @@ pipeline {
|
||||
stages {
|
||||
stage('First') {
|
||||
steps {
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}","KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||
sh 'kaggle datasets list'
|
||||
}
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi. amu.edu.pl/s478815/ium_478815.git']]])
|
||||
sh "chmod a+x ./skrypt.sh"
|
||||
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./skrypt.sh"
|
||||
archiveArtifacts 'data.csv'
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user