Commit d59f1e8a authored by Ndoumbe's avatar Ndoumbe

change

parent 52234415
...@@ -15,7 +15,7 @@ def call(body) { ...@@ -15,7 +15,7 @@ def call(body) {
def author = sh(returnStdout: true, script: "git show -s --pretty=%an").trim() def author = sh(returnStdout: true, script: "git show -s --pretty=%an").trim()
def url = sh(returnStdout: true, script: 'git config remote.origin.url').trim() def url = sh(returnStdout: true, script: 'git config remote.origin.url').trim()
def notificationURL = "${url.replace(':', '/').replace('git@', 'https://')}" def notificationURL = "${url.replace(':', '/').replace('git@', 'https://')}"
//def VALUES_FILE = "${pipelineParams.VALUES_FILE}" def VALUES_FILE = "${pipelineParams.VALUES_FILE}"
} }
...@@ -73,7 +73,7 @@ def call(body) { ...@@ -73,7 +73,7 @@ def call(body) {
git config --global user.email "ndoumbe.diop@baamtu.com" git config --global user.email "ndoumbe.diop@baamtu.com"
git config --global user.name "diopbe" git config --global user.name "diopbe"
yq e -i '.image.tag = "${shortCommit}"' "${VALUES_FILE}" yq e -i '.image.tag = "${shortCommit}"' ${pipelineParams.VALUES_FILE}
git commit -am "new build for ${BRANCH_NAME} - commit hash=${shortCommit}" git commit -am "new build for ${BRANCH_NAME} - commit hash=${shortCommit}"
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment