From 573f36084f038beccde8fc12f23d38ccc5254d0e Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 23 Mar 2021 11:09:41 -0400 Subject: [PATCH] update --- Jenkinsfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0944d4b..73abca1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,9 +11,8 @@ pipeline { steps { withCredentials([usernamePassword(credentialsId: 'github-qas-labs', passwordVariable: 'gitpass', usernameVariable: 'gituser')]) { sh "git clone https://$gituser:$gitpass@github.com/byangtri/argocd-example-apps.git" - sh "chmod +x -R /etc/gitconfig" - sh "git config --system user.email 'b.yang@ext.tricentis.com'" - sh "git config --system user.name 'brandon'" + sh "sudo git config --system user.email 'b.yang@ext.tricentis.com'" + sh "sudo git config --system user.name 'brandon'" dir("argocd-example-apps") { sh "cd helm-guestbook && sed -i 's+0.2+0.1+g' values.yaml" sh "git commit -am 'Publish new version' && git push || echo 'update version'"