Skip to content

Commit

Permalink
Backport publish-jitexecutor-native-rc workflow to 10.0.x branch and …
Browse files Browse the repository at this point in the history
…add its trigger for the release
  • Loading branch information
rodrigonull committed Aug 2, 2024
1 parent 79c5c2f commit 026d40d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .ci/jenkins/Jenkinsfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,22 @@ pipeline {
}
}
}

stage('Trigger JIT Executor Native - Release Candidate - GH workflow') {
steps {
script {
dir(getRepoName()) {
withCredentials([usernamePassword(credentialsId: "${getGitAuthorPushCredsId()}", usernameVariable: 'GITHUB_USER', passwordVariable: 'GITHUB_TOKEN')]) {
sh """
git config user.email ${GITHUB_USER}@jenkins.kie.apache.org
git config user.name ${GITHUB_USER}
gh workflow run "publish-jitexecutor-native-rc.yml" --ref "${getBuildBranch()}" -f release_candidate_version="${getProjectVersion()}" --repo="https://github.com/${getGitAuthor()}/${getRepoName()}"
"""
}
}
}
}
}
}
post {
always {
Expand Down

0 comments on commit 026d40d

Please sign in to comment.