Try more things
Some checks failed
Homelab/jenkins-container/pipeline/head There was a failure building this commit
Some checks failed
Homelab/jenkins-container/pipeline/head There was a failure building this commit
This commit is contained in:
parent
12385e38d8
commit
92f0146197
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user