Fix change directory Jenkinsfile.

This commit is contained in:
s487179 2023-04-14 19:24:34 +02:00
parent df285bfe7b
commit 298320f9b3

View File

@ -23,7 +23,7 @@ pipeline {
stage('Run sh file') {
steps {
checkout scm
sh 'cd createDataset'
dir ('./createDataset') {
sh 'ls -l'
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
@ -32,6 +32,7 @@ pipeline {
}
}
}
}
stage('Archive file') {
steps {
archiveArtifacts artifacts: 'loan_sanction_shuffled.csv', fingerprint: true