Update 'Jenkinsfile'

This commit is contained in:
Wojciech Mikołajski 2023-04-17 21:39:06 +02:00
parent 5c81c6f3ab
commit ff1ec4c699

4
Jenkinsfile vendored
View File

@ -30,10 +30,10 @@ node {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}",
"CUT = ${params.CUT}" ]) {
sh 'echo CUT: $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 70 >> output.txt'
sh 'python3 create_dataset.py ${cut} >> output.txt'
archiveArtifacts artifacts: 'waterQuality.csv, output.txt'
}
}