Try more things
Some checks failed
Homelab/jenkins-container/pipeline/head There was a failure building this commit

This commit is contained in:
Jim Nicholson 2022-09-01 16:39:47 -07:00
parent 12385e38d8
commit 92f0146197

13
Jenkinsfile vendored
View File

@ -1,11 +1,10 @@
#!/usr/bin/env groovy
POD_LABEL = "jenkins-builder-${UUID.randomUUID()}"
REGISTRY = 'docker.thejimnicholson.com/jenkins'
REGISTRY = 'registry.thejimnicholson.com/jenkins'
podTemplate(
name: POD_LABEL,
label: POD_LABEL,
namespace: 'jenkins',
podRetention(always),
containers: [
containerTemplate(
name: 'kaniko',
@ -17,16 +16,14 @@ podTemplate(
volumes: [
secretVolume(mountPath: '/kaniko/.docker/config.json', secretName: 'regcred')
],
workspaceVolume: dynamicPVC()
) {
workspaceVolume: dynamicPVC(),
{
node(POD_LABEL) {
stage('Checkout') {
checkout scm
}
}
}
)
// {
// node(POD_LABEL) {