Skip to content

Commit

Permalink
[Misc] Make sure that docker-all and docker-unsupported are executed …
Browse files Browse the repository at this point in the history
…(thanks to Simon)
  • Loading branch information
vmassol committed Oct 23, 2023
1 parent d3187e1 commit 04f457e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions JenkinsfileEnvironmentTests
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ if (currentBuild.rawBuild.getCauses()[0].toString().contains('UserIdCause')) {
// Aborting so that the build isn't displayed as successful, as we want to focus on the failing env tests builds.
currentBuild.result = 'ABORTED'
}
} else if (params.type && params.type != 'none' && params.type != 'docker-latest') {
// Always build docker-all and docker-unsupported, as they execute only every week and every month and it's unlikely
// there's been no changes since their last execution. We could check specifically for that but it's simpler to just
// always execute them!
buildDocker(params.type)
} else if (params.type && params.type != 'none') {
// Only execute if the "XWiki/xwiki-platform/<current branch>" job's last execution date is later than this current
// job's last execution date. In other words, don't re-run the environment tests if there's been no source code
Expand Down

0 comments on commit 04f457e

Please sign in to comment.