Fix
This commit is contained in:
parent
72e010331c
commit
3ade3d7ff0
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -22,6 +22,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') {
|
stage('Build') {
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
@ -31,7 +42,7 @@ node {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Preparation') {
|
stage('Data Preparation') {
|
||||||
sh 'echo "PREPARATION"'
|
sh 'echo "PREPARATION"'
|
||||||
sh "chmod u+x ./preparation.sh"
|
sh "chmod u+x ./preparation.sh"
|
||||||
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./preparation.sh"
|
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./preparation.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user