Another fix
This commit is contained in:
parent
56e93c6c86
commit
b4d4177068
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
@ -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'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user