debug push
This commit is contained in:
parent
2ad0cf70c3
commit
cba8461a38
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -28,10 +28,11 @@ pipeline {
|
|||||||
{
|
{
|
||||||
steps {
|
steps {
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
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 "chmod 777 ./script.sh"
|
||||||
sh './script.sh'
|
sh './script.sh'
|
||||||
}
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('archive artifacts') {
|
stage('archive artifacts') {
|
||||||
|
@ -2,7 +2,8 @@ kaggle datasets download -d karangadiya/fifa19
|
|||||||
unzip -o fifa19.zip
|
unzip -o fifa19.zip
|
||||||
|
|
||||||
x=$(($CUTOFF/10))
|
x=$(($CUTOFF/10))
|
||||||
|
echo $KAGGLE_USERNAME
|
||||||
|
echo $KAGGLE_KEY
|
||||||
head -n 1 data.csv > header.csv
|
head -n 1 data.csv > header.csv
|
||||||
tail -n +2 data.csv| tail -n $CUTOFF | shuf > data_shuf.csv
|
tail -n +2 data.csv| tail -n $CUTOFF | shuf > data_shuf.csv
|
||||||
head -n $(($x*2)) data_shuf.csv > test.csv
|
head -n $(($x*2)) data_shuf.csv > test.csv
|
||||||
|
Loading…
Reference in New Issue
Block a user