Commit 9e0422ba authored by Ndoumbe's avatar Ndoumbe

update

parent 461b2560
......@@ -77,9 +77,9 @@ def call(body) {
git commit -am "new build for ${BRANCH_NAME} - commit hash=${shortCommit}"
"""
withCredentials([usernamePassword(credentialsId: 'gitlab_credential', passwordVariable: 'pwdgitbaamtu', usernameVariable: 'diopbe', branch: 'master')]) {
sh ('git remote set-url origin https://${Uername}:${Password}@gitlab.baamtu.com/diopbe/helm-manifestfiles')
sh('git push origin master ')
withCredentials([usernamePassword(credentialsId: 'gitlab_credential', passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) {
sh ('git remote set-url origin https://${GIT_USERNAME}:${GIT_PASSWORD}@gitlab.baamtu.com/diopbe/helm-manifestfiles')
sh('git push origin master')
}
}
......
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