debug push

This commit is contained in:
Anna Nowak 2021-03-28 23:17:05 +02:00
parent 2ad0cf70c3
commit cba8461a38
2 changed files with 5 additions and 3 deletions

5
Jenkinsfile vendored
View File

@ -28,10 +28,11 @@ pipeline {
{
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) {
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) {
sh "chmod 777 ./script.sh"
sh './script.sh'
}
}
}
}
stage('archive artifacts') {

View File

@ -2,7 +2,8 @@ kaggle datasets download -d karangadiya/fifa19
unzip -o fifa19.zip
x=$(($CUTOFF/10))
echo $KAGGLE_USERNAME
echo $KAGGLE_KEY
head -n 1 data.csv > header.csv
tail -n +2 data.csv| tail -n $CUTOFF | shuf > data_shuf.csv
head -n $(($x*2)) data_shuf.csv > test.csv