Tomishinets Vladimir 4 năm trước cách đây
mục cha
commit
5a4d890700
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      devK8s.Jenkinsfile

+ 1 - 1
devK8s.Jenkinsfile

@@ -121,7 +121,7 @@ pipeline {
     stage("Build Image") {
       steps {
         script {
-          sh "chown $(whoami):$(whoami) ${BUILD_IMAGE_DIR}"
+          sh "chown \$(whoami):\$(whoami) ${BUILD_IMAGE_DIR}"
           sh "cp ${DOCKER_FILE} ${BUILD_IMAGE_DIR}"
           IMAGE_TO_PUSH = "${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${COMMIT}-${BUILD_NUMBER}"
           dir (BUILD_IMAGE_DIR) {