Fix change directory Jenkinsfile.
This commit is contained in:
parent
df285bfe7b
commit
298320f9b3
3
createDataset/Jenkinsfile
vendored
3
createDataset/Jenkinsfile
vendored
@ -23,7 +23,7 @@ pipeline {
|
|||||||
stage('Run sh file') {
|
stage('Run sh file') {
|
||||||
steps {
|
steps {
|
||||||
checkout scm
|
checkout scm
|
||||||
sh 'cd createDataset'
|
dir ('./createDataset') {
|
||||||
sh 'ls -l'
|
sh 'ls -l'
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
@ -32,6 +32,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Archive file') {
|
stage('Archive file') {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts artifacts: 'loan_sanction_shuffled.csv', fingerprint: true
|
archiveArtifacts artifacts: 'loan_sanction_shuffled.csv', fingerprint: true
|
||||||
|
Loading…
Reference in New Issue
Block a user