add subscript for zadanie6
This commit is contained in:
parent
db5ae2043f
commit
29ecbd3d57
@ -13,7 +13,8 @@ pipeline {
|
|||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
sh 'chmod +x script-zadanie-2-4.sh'
|
sh 'chmod +x script-zadanie-2-4.sh'
|
||||||
sh './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}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
script-zadanie-2-4-cutoff.sh
Normal file
4
script-zadanie-2-4-cutoff.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mv train.csv temp.csv
|
||||||
|
head -n $1 temp.csv > train.csv
|
Loading…
Reference in New Issue
Block a user