docker integration
This commit is contained in:
parent
17218cd3cb
commit
379beaf2d9
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -20,6 +20,9 @@ node {
|
|||||||
|
|
||||||
}
|
}
|
||||||
stage('Clone repo') {
|
stage('Clone repo') {
|
||||||
|
checkout scm
|
||||||
|
def testImage = docker.build("karopa/ium:01")
|
||||||
|
testImage.inside {
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]){
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]){
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]])
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]])
|
||||||
sh '''
|
sh '''
|
||||||
@ -34,4 +37,6 @@ node {
|
|||||||
archiveArtifacts "output.txt"
|
archiveArtifacts "output.txt"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user