From edbaa6d82b1d0b31c33a27fa779d1eaa3afcbb7e Mon Sep 17 00:00:00 2001 From: Ding-Yi Chen Date: Tue, 5 Jun 2018 15:30:25 +1000 Subject: [PATCH] fix(maven-release): should push with crediential --- jenkins/maven-Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/maven-Jenkinsfile b/jenkins/maven-Jenkinsfile index 11a6887..bbcc45d 100644 --- a/jenkins/maven-Jenkinsfile +++ b/jenkins/maven-Jenkinsfile @@ -232,7 +232,7 @@ timestamps { sh "git checkout master" sh "bash $WORKSPACE/zanata-functions run branch_forced_pull" sh "git merge ${PROJ_BRANCH} -Xours" - sh "git push" + sh "git push https://$GIT_USERNAME:$GITHUB_OAUTH2_TOKEN@${PROJ_BASE} master" } } }