Update 'Jenkinsfile'

This commit is contained in:
Wojciech Mikołajski 2023-04-17 21:40:34 +02:00
parent ff1ec4c699
commit 80e831fde8

3
Jenkinsfile vendored
View File

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