Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
assafnoahkoren committed Feb 25, 2024
1 parent 498928a commit e8f5f51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ pipeline {
sh "git config --global user.email [email protected]"
sh "git config --global user.name jenkins-bot"
sh '''
git config --global user.password "${GIT_PASSWORD}"
git remote set-url origin "${GIT_URL}"
git remote set-url origin "https://asafkaravani:${GIT_PASSWORD}@github.com/asafkaravani/apprentice.git"
'''
// Tag the commit with the build number
sh "git tag -a build_${buildNumber} -m 'Build ${buildNumber}' ${commitHash}"
Expand Down

0 comments on commit e8f5f51

Please sign in to comment.