Update 'Jenkinsfile'
This commit is contained in:
parent
096a7d45dc
commit
d0947dc588
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -25,8 +25,7 @@ node {
|
|||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
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 'mapfile -t lines < waterQuality1.csv'
|
sh 'head -n 30 waterQuality1.csv > temp.csv'
|
||||||
sh 'shuf -e "${lines[@]}" | head -n 30 > temp.csv'
|
|
||||||
sh 'mv temp.csv waterQuality1.csv'
|
sh 'mv temp.csv waterQuality1.csv'
|
||||||
sh 'python3 create_dataset.py >> output.txt'
|
sh 'python3 create_dataset.py >> output.txt'
|
||||||
archiveArtifacts artifacts: 'waterQuality.csv, output.txt'
|
archiveArtifacts artifacts: 'waterQuality.csv, output.txt'
|
||||||
|
Loading…
Reference in New Issue
Block a user