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 { steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) { "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' readlink -f $(which sh)
sh 'kaggle datasets list'
sh './skrypt.sh ${params.CUTOFF} | tee output.txt' 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 kaggle datasets download -d apoorvaappz/global-super-store-dataset
unzip global-super-store-dataset.zip unzip global-super-store-dataset.zip
cat Global_Superstore2.csv | shuf > Global_Superstore2.csv.shuf cat Global_Superstore2.csv | shuf > Global_Superstore2.csv.shuf