Skip to content

Commit

Permalink
Jenkins: Also boot dev branch for pull requests targeting dev
Browse files Browse the repository at this point in the history
  • Loading branch information
arichardson committed Jul 29, 2023
1 parent 4dcdfb9 commit f701c80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def bootCheriBSDForAllArchitectures(params, String qemuConfig, boolean isDebug)
// For the non-ASAN build of QEMU we also boot the latest release
addBootJobs(bootJobs, params, qemuConfig, architecture, "releng%252F22.12", "-latest-release")
}
if (env.BRANCH_NAME == 'dev') {
def targetBranch = env.CHANGE_TARGET ? env.CHANGE_TARGET : env.BRANCH_NAME;
if (targetBranch == 'dev') {
addBootJobs(bootJobs, params, qemuConfig, architecture, "dev", "-dev")
}
}
Expand Down

0 comments on commit f701c80

Please sign in to comment.