From 6beb059242621cecd1895bdc9d86749b6be1fcc9 Mon Sep 17 00:00:00 2001 From: Jim Nicholson Date: Thu, 9 Dec 2021 23:03:49 -0800 Subject: [PATCH] Force updated pod template --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e5588db..5146a7d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,17 +1,17 @@ + +def label = "mypod-${UUID.randomUUID().toString()}" podTemplate(containers: [ containerTemplate( + label: label, name: 'maven', image: 'maven:3.8.4-openjdk-11', command: 'sleep', args: '30d' ) ]) { - node(POD_LABEL) { + node(label) { stage('Checkout') { - sh ''' - ls -l /etc/ssl/certs - wget https://git.thejimnicholson.com - ''' + // git credentialsId: 'jenkins-credentials', url: 'https://git.thejimnicholson.com/homelab/java-spring-microservice.git' checkout scm container('maven') { stage('Build') {