Update 'Jenkinsfile'

This commit is contained in:
Wojciech Mikołajski 2023-04-15 05:08:36 +02:00
parent a626ed65f9
commit 5d7116ff3d

8
Jenkinsfile vendored
View File

@ -24,10 +24,10 @@ node {
// Run the maven build
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'kaggle datasets download -d mssmartypants/water-quality'
sh 'unzip -o water-quality.zip'
sh 'python3 create_dataset.py'
archiveArtifacts artifacts: 'waterQuality.csv'
sh 'kaggle datasets download -d mssmartypants/water-quality > output.txt'
sh 'unzip -o water-quality.zip >> output.txt'
sh 'python3 create_dataset.py >> output.txt'
archiveArtifacts artifacts: 'waterQuality.csv, output.txt'
}
}
}