Force updated pod template
Some checks reported errors
Homelab/java-spring-microservice/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Jim Nicholson 2021-12-09 23:03:49 -08:00
parent 6a9037a2cf
commit 6beb059242

10
Jenkinsfile vendored
View File

@ -1,17 +1,17 @@
def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(containers: [ podTemplate(containers: [
containerTemplate( containerTemplate(
label: label,
name: 'maven', name: 'maven',
image: 'maven:3.8.4-openjdk-11', image: 'maven:3.8.4-openjdk-11',
command: 'sleep', command: 'sleep',
args: '30d' args: '30d'
) )
]) { ]) {
node(POD_LABEL) { node(label) {
stage('Checkout') { stage('Checkout') {
sh ''' // git credentialsId: 'jenkins-credentials', url: 'https://git.thejimnicholson.com/homelab/java-spring-microservice.git'
ls -l /etc/ssl/certs
wget https://git.thejimnicholson.com
'''
checkout scm checkout scm
container('maven') { container('maven') {
stage('Build') { stage('Build') {