Tomishinets Vladimir 3 years ago
parent
commit
932018bb6e
1 changed files with 10 additions and 10 deletions
  1. 10 10
      updateK8s.Jenkinsfile

+ 10 - 10
updateK8s.Jenkinsfile

@@ -79,16 +79,16 @@ pipeline {
     //     }
     //   }
     // }
-    // stage("Push changes to REPO") {
-    //   steps {
-    //     script {
-    //       echo "Push changes to Repo"
-    //       PROJECT = DOCKER_IMAGE.split("/")[1]
-    //       COMMIT = "Version update ${PROJECT} to ${TAG}"
-    //       gitOps.push(HELM_DIR, COMMIT)
-    //     }
-    //   }
-    // }
+    stage("Push changes to REPO") {
+      steps {
+        script {
+          echo "Push changes to Repo"
+          PROJECT = DOCKER_IMAGE.split("/")[1]
+          COMMIT = "Version update ${PROJECT} to ${TAG}"
+          gitOps.push(HELM_DIR, COMMIT)
+        }
+      }
+    }
   //   stage("Tagging Image") {
   //     steps {
   //       script {