This commit is contained in:
Michał Ulaniuk 2022-03-27 22:50:50 +02:00
parent 72e010331c
commit 3ade3d7ff0

13
Jenkinsfile vendored
View File

@ -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"