Fix change directory Jenkinsfile.
This commit is contained in:
parent
df285bfe7b
commit
298320f9b3
13
createDataset/Jenkinsfile
vendored
13
createDataset/Jenkinsfile
vendored
@ -23,12 +23,13 @@ pipeline {
|
||||
stage('Run sh file') {
|
||||
steps {
|
||||
checkout scm
|
||||
sh 'cd createDataset'
|
||||
sh 'ls -l'
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
sh 'chmod +x ./datasetScript.sh'
|
||||
sh './datasetScript.sh'
|
||||
dir ('./createDataset') {
|
||||
sh 'ls -l'
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
sh 'chmod +x ./datasetScript.sh'
|
||||
sh './datasetScript.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user