is checkout necessary
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
3b85dbcf56
commit
0ae0351c9d
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -1,14 +1,15 @@
|
||||
podTemplate(containers: [
|
||||
containerTemplate(
|
||||
name: 'maven',
|
||||
image: 'maven:3.8.1-jdk-11',
|
||||
image: 'maven:3.8.4-openjdk-11',
|
||||
command: 'sleep',
|
||||
args: '30d'
|
||||
)
|
||||
]) {
|
||||
node(POD_LABEL) {
|
||||
stage('Checkout') {
|
||||
checkout scm
|
||||
|
||||
|
||||
container('maven') {
|
||||
stage('Build') {
|
||||
sh '''
|
||||
|
||||
Loading…
Reference in New Issue
Block a user