Skip to content

Commit

Permalink
Merge branch 'release/1.0.2' into feature/issue-1726
Browse files Browse the repository at this point in the history
  • Loading branch information
sashapanasiuk5 authored Sep 14, 2024
2 parents 5c18342 + c5d2b9c commit 9f8fe5f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,9 @@ pipeline {
steps {

script {
checkout scmGit(
branches: [[name: 'master']],
userRemoteConfigs: [[credentialsId: 'StreetcodeGithubCreds', url: '[email protected]:ita-social-projects/Streetcode.git']])


git branch: 'master', credentialsId: 'test_git_user', url: '[email protected]:ita-social-projects/Streetcode.git'

sh 'echo ${BRANCH_NAME}'
sh "git checkout master"
sh 'echo ${BRANCH_NAME}'
Expand All @@ -271,11 +270,9 @@ pipeline {
}
}
post {

success {
checkout scmGit(
branches: [[name: 'master']],
userRemoteConfigs: [[credentialsId: 'StreetcodeGithubCreds', url: '[email protected]:ita-social-projects/Streetcode.git']])


sh 'gh auth status'
sh "gh release create v${vers} --generate-notes --draft"
}
Expand Down

0 comments on commit 9f8fe5f

Please sign in to comment.