Jenkinsfile name of script

This commit is contained in:
Adrian Charkiewicz 2022-03-24 19:46:09 +01:00
parent 7d9dff4fac
commit ba1d86ebec

4
Jenkinsfile vendored
View File

@ -28,8 +28,8 @@ pipeline {
steps {
echo 'Hello world'
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s444354/ium_444354']]])
sh "chmod u+x ./download.sh"
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./download.sh"
sh "chmod u+x ./script.sh"
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./script.sh"
archiveArtifacts 'data.txt'
}
}