Commit 52234415 authored by Ndoumbe's avatar Ndoumbe

update

parent fdf4d10a
......@@ -14,8 +14,8 @@ def call(body) {
def shortCommit = sh(returnStdout: true, script: "git log -n 1 --pretty=format:'%h'").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 VALUES_FILE = "${pipelineParams.VALUES_FILE}"
def notificationURL = "${url.replace(':', '/').replace('git@', 'https://')}"
//def VALUES_FILE = "${pipelineParams.VALUES_FILE}"
}
......@@ -73,7 +73,7 @@ def call(body) {
git config --global user.email "ndoumbe.diop@baamtu.com"
git config --global user.name "diopbe"
yq e -i '.image.tag = "${shortCommit}"' ${VALUES_FILE}
yq e -i '.image.tag = "${shortCommit}"' "${VALUES_FILE}"
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