Commit 484f9432 authored by Ndoumbe's avatar Ndoumbe

update

parent f4e73a8a
......@@ -67,7 +67,7 @@ def call(body) {
dir('charts') {
sh "rm -rf ./*"
git( credentialsId: 'Gitlab-credential-nd', url: 'https://gitlab.baamtu.com/diopbe/helm-manifestfiles', branch: 'master' )
git( credentialsId: 'gitlab_credential', url: 'https://gitlab.baamtu.com/diopbe/helm-manifestfiles', branch: 'master' )
sh """
git config --global user.email "ndoumbe.diop@baamtu.com"
git config --global user.name "diopbe"
......@@ -76,7 +76,7 @@ def call(body) {
git commit -am "new build for ${BRANCH_NAME} - commit hash=${shortCommit}"
"""
withCredentials([usernamePassword(credentialsId: 'Gitlab-credential-nd', passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) {
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