소스 검색

Testing trigger

Fred Damstra (k8s1) 2 년 전
부모
커밋
7e6d3221e2
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      Jenkinsfile

+ 3 - 3
Jenkinsfile

@@ -1,4 +1,4 @@
-def label = "update-route53.$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/update-route53#refs/heads/main" \
-               --destination="fdamstra/update-route53: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'