Force pod template label, not container
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 23:06:16 -08:00
parent 6beb059242
commit c4aa826b0e

3
Jenkinsfile vendored
View File

@ -1,8 +1,7 @@
def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(containers: [
podTemplate(label: label, containers: [
containerTemplate(
label: label,
name: 'maven',
image: 'maven:3.8.4-openjdk-11',
command: 'sleep',