diff --git a/Jenkinsfile b/Jenkinsfile index 18610f8..9e0646b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,6 +21,17 @@ node { ]) ]) } + + stage('Checkout') { + steps { + script { + git credentialsId: 'jenkins-user-github', url: 'https://git.wmi.amu.edu.pl/s478855/ium_478855.git' + sh "ls -lart ./*" + sh "git branch -a" + sh "git checkout master" + } + } + } stage('Build') { withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", @@ -31,7 +42,7 @@ node { } } - stage('Preparation') { + stage('Data Preparation') { sh 'echo "PREPARATION"' sh "chmod u+x ./preparation.sh" sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./preparation.sh"