Force updated pod template
Some checks reported errors
Homelab/java-spring-microservice/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
Homelab/java-spring-microservice/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
6a9037a2cf
commit
6beb059242
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -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') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user