Fixed jenkins file

This commit is contained in:
Jan Nowak 2021-03-28 22:14:46 +02:00
parent bee60e03dd
commit 9f74097f81
2 changed files with 2 additions and 3 deletions

3
Jenkinsfile vendored
View File

@ -30,8 +30,7 @@ pipeline {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets list'
readlink -f $(which sh)
sh './skrypt.sh ${params.CUTOFF} | tee output.txt'
}
}

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/dash
kaggle datasets download -d apoorvaappz/global-super-store-dataset
unzip global-super-store-dataset.zip
cat Global_Superstore2.csv | shuf > Global_Superstore2.csv.shuf