Update Jenkinsfile3
This commit is contained in:
parent
2f50f8d1b8
commit
317896e141
@ -30,6 +30,8 @@ pipeline {
|
||||
def testImage = docker.build("test-image", "./Dockerfile")
|
||||
}
|
||||
}
|
||||
stage('Run in container'){
|
||||
docker.image('test-image').inside {
|
||||
stage('Build') {
|
||||
steps {
|
||||
// Run the maven build
|
||||
@ -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