fix pushing to remote repo
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -95,7 +95,7 @@ pipeline {
|
|||||||
sh "git remote set-url origin https://${USER}:${PASS}@gitlab.com/nanuchi/java-maven-app.git"
|
sh "git remote set-url origin https://${USER}:${PASS}@gitlab.com/nanuchi/java-maven-app.git"
|
||||||
sh 'git add .'
|
sh 'git add .'
|
||||||
sh 'git commit -m "ci: version bump"'
|
sh 'git commit -m "ci: version bump"'
|
||||||
sh 'git push origin HEAD:jenkins-jobs'
|
sh "git push origin HEAD:${BRANCH_NAME}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user