Skip to content

Commit

Permalink
set branch evn variables for PR check Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jstastny-cz committed Sep 18, 2023
1 parent 60bcd55 commit a6b8ae4
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,14 @@ class KogitoJobTemplate {
buildOriginPRMerge(true)
}
}
properties {
envVars {
properties """
BRANCH=${Utils.getGitMainBranch(script)}
GENERATION_BRANCH=${Utils.getGenerationBranch(script)}
"""
}
}
orphanedItemStrategy {
discardOldItems {
daysToKeep(10)
Expand Down

0 comments on commit a6b8ae4

Please sign in to comment.