Update Jenkinsfile3
This commit is contained in:
parent
2f50f8d1b8
commit
317896e141
@ -30,7 +30,9 @@ pipeline {
|
||||
def testImage = docker.build("test-image", "./Dockerfile")
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
stage('Run in container'){
|
||||
docker.image('test-image').inside {
|
||||
stage('Build') {
|
||||
steps {
|
||||
// Run the maven build
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
@ -40,8 +42,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Run in container'){
|
||||
docker.image('test-image').inside {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
// Krok: Sklonowanie repozytorium git
|
||||
|
Loading…
Reference in New Issue
Block a user