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
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
@ -5,16 +5,17 @@ podTemplate(containers: [
|
|||||||
command: 'sleep',
|
command: 'sleep',
|
||||||
args: '30d'
|
args: '30d'
|
||||||
)
|
)
|
||||||
])
|
]) {
|
||||||
node(POD_LABEL) {
|
node(POD_LABEL) {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
scm checkout
|
scm checkout
|
||||||
container('maven') {
|
container('maven') {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
sh '''
|
sh '''
|
||||||
mvn clean package
|
mvn clean package
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user