check if sh is executed
This commit is contained in:
parent
159e5b0fcf
commit
2f98b5ed1b
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -32,14 +32,14 @@ pipeline {
|
||||
sh 'kaggle datasets download -d thedevastator/airbnb-prices-in-european-cities'
|
||||
sh 'unzip airbnb-prices-in-european-cities.zip -d ./ium_z444510'
|
||||
sh 'rm airbnb-prices-in-european-cities.zip'
|
||||
sh 'chmod u+x ./ium_z444510/create-dataset.sh'
|
||||
sh './ium_z444510/create-dataset.sh'
|
||||
sh 'ls -a'
|
||||
sh 'ls -a ./ium_z444510'
|
||||
sh 'chmod u+x ./ium_z444510/create-dataset.sh'
|
||||
sh './ium_z444510/create-dataset.sh'
|
||||
}
|
||||
archiveArtifacts 'ium_z444510/train.csv'
|
||||
archiveArtifacts 'ium_z444510/dev.csv'
|
||||
archiveArtifacts 'ium_z444510/test.csv'
|
||||
// archiveArtifacts 'ium_z444510/train.csv'
|
||||
// archiveArtifacts 'ium_z444510/dev.csv'
|
||||
// archiveArtifacts 'ium_z444510/test.csv'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,3 @@
|
||||
#! /usr/bin/bash
|
||||
|
||||
head -n -1 ium_z444510/barcelona_weekends.csv | shuf > ium_z444510/barcelona_weekends.shuf.csv
|
||||
head -n 25 ium_z444510/barcelona_weekends.shuf.csv > ium_z444510/barcelona_weekends.test.csv
|
||||
head -n 50 ium_z444510/barcelona_weekends.shuf.csv | tail -n 25 > ium_z444510/barcelona_weekends.dev.csv
|
||||
tail -n +51 ium_z444510/barcelona_weekends.shuf.csv > ium_z444510/barcelona_weekends.train.csv
|
||||
rm ium_z444510/barcelona_weekends.shuf.csv
|
||||
wc -l ium_z444510/barcelona_weekends*
|
||||
echo 'Hello'
|
Loading…
Reference in New Issue
Block a user