Skip to content

Commit

Permalink
Create a new tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed May 27, 2024
1 parent 330d9e0 commit a9bbdeb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .ci/jenkins/Jenkinsfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ pipeline {
}
String prLink = githubscm.createPR(commitMsg, prBody, getBuildBranch(), getGitAuthorPushCredsId())
deployProperties["${getRepoName()}.pr.link"] = prLink


// Create a new tag
githubscm.setUserConfigFromCreds(getGitAuthorPushCredsId())
githubscm.tagRepository(getProjectVersion())
githubscm.pushRemoteTag('origin', getProjectVersion(), getGitAuthorPushCredsId())
}
}
}
Expand All @@ -227,6 +233,7 @@ pipeline {
}
}
}

stage('Finalize') {
steps {
script {
Expand Down

0 comments on commit a9bbdeb

Please sign in to comment.