From ad517593dd139231127397f6f1ef9fbbeb4e0f1f Mon Sep 17 00:00:00 2001 From: Nana Janashia Date: Sun, 29 Nov 2020 08:49:01 +0100 Subject: [PATCH] cleanup git push from Jenkinn --- Jenkinsfile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8218bcb..3220d0f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -50,13 +50,6 @@ pipeline { steps { script { withCredentials([usernamePassword(credentialsId: 'gitlab-credentials', passwordVariable: 'PASS', usernameVariable: 'USER')]) { - sh 'git config --global user.email "jenkins@example.com"' - sh 'git config --global user.name "jenkins"' - - sh 'git status' - sh 'git branch' - sh 'git config --list' - sh "git remote set-url origin https://${USER}:${PASS}@gitlab.com/nanuchi/java-maven-app.git" sh 'git add .' sh 'git commit -m "ci: version bump"'