This commit is contained in:
s444018 2022-03-27 17:50:53 +02:00
parent 940177ce73
commit f754bdb418

4
Jenkinsfile vendored
View File

@ -32,14 +32,14 @@ pipeline {
} }
} }
stage('Script'){ stage('Script'){
steps { steps {
script { script {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets list' sh 'kaggle datasets list'
}s }
} }
sh './download_dataset.sh $CUTOFF' sh './download_dataset.sh $CUTOFF'
archiveArtifacts artifacts: 'dataset.csv.dev, dataset.csv.test, dataset.csv.train', followSymlinks: false archiveArtifacts artifacts: 'dataset.csv.dev, dataset.csv.test, dataset.csv.train', followSymlinks: false