Another fix

This commit is contained in:
s478841 2022-03-26 17:11:22 +01:00
parent 56e93c6c86
commit b4d4177068

26
Jenkinsfile vendored
View File

@ -16,20 +16,20 @@ node {
]) ])
]) ])
} }
}
stage('Install depends.') { stage('Install depends.') {
sh 'pip install --user -r requirements.txt' sh 'pip install --user -r requirements.txt'
}
stage('Prepare dataset') {
withEnv([
"KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}"
]) {
sh 'echo Welcome: $KAGGLE_USERNAME'
sh 'kaggle datasets list'
} }
stage('Prepare dataset') {
withEnv([
"KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}"
]) {
sh 'echo Welcome: $KAGGLE_USERNAME'
sh 'kaggle datasets list'
}
sh 'chmod u+x ./load_data.sh' sh 'chmod u+x ./load_data.sh'
sh './load_data.sh' sh './load_data.sh'
}
} }