Update 'Jenkinsfile'

This commit is contained in:
Wojciech Mikołajski 2023-04-17 21:29:36 +02:00
parent 0326097378
commit fda87f68d6

3
Jenkinsfile vendored
View File

@ -29,9 +29,10 @@ node {
// Run the maven build
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
def cut = ${params.CUT}
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'
sh 'python3 create_dataset.py ${cut} >> output.txt'
archiveArtifacts artifacts: 'waterQuality.csv, output.txt'
}
}