|
@@ -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 {
|