Force pod template label, not container
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
6beb059242
commit
c4aa826b0e
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user