IUM_04
This commit is contained in:
parent
c47828232d
commit
af1560fc39
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -15,19 +15,16 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stage('Download, Process, and Split Dataset') {
|
stage('Download, Process, and Split Dataset') {
|
||||||
agent {
|
agent {
|
||||||
dockerfile {
|
dockerfile true
|
||||||
args "-e KAGGLE_USERNAME=${env.KAGGLE_USERNAME} -e KAGGLE_KEY=${env.KAGGLE_KEY}"
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
steps {
|
steps {
|
||||||
withEnv([
|
withEnv([
|
||||||
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
|
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${env.KAGGLE_KEY}"
|
"KAGGLE_KEY=${env.KAGGLE_KEY}"
|
||||||
]) {
|
]) {
|
||||||
// sh "echo 'The parameter value is: $KAGGLE_USERNAME'"
|
sh "echo === VARIABLE SUBSTITUTION ==="
|
||||||
// sh 'export KAGGLE_USERNAME=${env.KAGGLE_USERNAME}"'
|
sh "echo ${params.KAGGLE_USERNAME}"'
|
||||||
// sh 'export KAGGLE_KEY=${env.KAGGLE_KEY}"'
|
|
||||||
sh "python3 IUM_02.py"
|
sh "python3 IUM_02.py"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user