add subscript for zadanie6

This commit is contained in:
jakubknczny 2021-03-28 19:15:39 +02:00
parent db5ae2043f
commit 29ecbd3d57
2 changed files with 6 additions and 1 deletions

View File

@ -13,7 +13,8 @@ pipeline {
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'chmod +x script-zadanie-2-4.sh'
sh './script-zadanie-2-4.sh'
sh "head -n ${params.CUTOFF} train.csv > train.csv"
sh 'chmod +x script-zadanie-2-4-cutoff.sh'
sh "./script-zadanie-2-4-cutoff.sh ${params.CUTOFF}"
}
}
}

View File

@ -0,0 +1,4 @@
#!/bin/bash
mv train.csv temp.csv
head -n $1 temp.csv > train.csv