fix build
Some checks failed
Homelab/java-spring-microservice/pipeline/head There was a failure building this commit
Some checks failed
Homelab/java-spring-microservice/pipeline/head There was a failure building this commit
This commit is contained in:
parent
3f56250c7c
commit
7544cf396c
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -5,15 +5,16 @@ podTemplate(containers: [
|
||||
command: 'sleep',
|
||||
args: '30d'
|
||||
)
|
||||
])
|
||||
node(POD_LABEL) {
|
||||
stage('Checkout') {
|
||||
scm checkout
|
||||
container('maven') {
|
||||
stage('Build') {
|
||||
sh '''
|
||||
mvn clean package
|
||||
'''
|
||||
]) {
|
||||
node(POD_LABEL) {
|
||||
stage('Checkout') {
|
||||
scm checkout
|
||||
container('maven') {
|
||||
stage('Build') {
|
||||
sh '''
|
||||
mvn clean package
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user