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: [
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 '''