is checkout necessary
Some checks failed
Homelab/java-spring-microservice/pipeline/head There was a failure building this commit

This commit is contained in:
Jim Nicholson 2021-12-09 19:11:10 -08:00
parent 3b85dbcf56
commit 0ae0351c9d

5
Jenkinsfile vendored
View File

@ -1,14 +1,15 @@
podTemplate(containers: [ podTemplate(containers: [
containerTemplate( containerTemplate(
name: 'maven', name: 'maven',
image: 'maven:3.8.1-jdk-11', image: 'maven:3.8.4-openjdk-11',
command: 'sleep', command: 'sleep',
args: '30d' args: '30d'
) )
]) { ]) {
node(POD_LABEL) { node(POD_LABEL) {
stage('Checkout') { stage('Checkout') {
checkout scm
container('maven') { container('maven') {
stage('Build') { stage('Build') {
sh ''' sh '''