Update 'Jenkinsfile'
This commit is contained in:
parent
ff1ec4c699
commit
80e831fde8
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -30,10 +30,9 @@ node {
|
|||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
||||||
"CUT = ${params.CUT}" ]) {
|
"CUT = ${params.CUT}" ]) {
|
||||||
def cut = $CUT
|
|
||||||
sh 'kaggle datasets download -d mssmartypants/water-quality > output.txt'
|
sh 'kaggle datasets download -d mssmartypants/water-quality > output.txt'
|
||||||
sh 'unzip -o water-quality.zip >> 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'
|
archiveArtifacts artifacts: 'waterQuality.csv, output.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user