Fred Damstra (k8s1) 2 jaren geleden
bovenliggende
commit
6bdee64bf4
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      Jenkinsfile

+ 3 - 3
Jenkinsfile

@@ -1,4 +1,4 @@
-def label = "$JOB_BASE_NAME.$BUILD_NUMBER-pipeline"
+def label = "$JOB_NAME.$BUILD_NUMBER-pipeline"
  
 podTemplate(label: label, containers: [
  containerTemplate(name: 'kaniko', image: 'gcr.io/kaniko-project/executor:debug', command: '/busybox/cat', ttyEnabled: true)
@@ -9,8 +9,8 @@ volumes: [
  node(label) {
    stage('Stage 1: Build with Kaniko') {
      container('kaniko') {
-       sh '/kaniko/executor --context="git://git.monkeybox.org/Containers/$JOB_BASE_NAME#refs/heads/main" \
-               --destination="fdamstra/$JOB_BASE_NAME:latest" \
+       sh '/kaniko/executor --context="git://git.monkeybox.org/Containers/$JOB_NAME#refs/heads/main" \
+               --destination="fdamstra/$JOB_NAME:latest" \
                --insecure \
                --skip-tls-verify  \
                -v=debug'