Skip to content

Commit

Permalink
Test the copy button logic improvement in core
Browse files Browse the repository at this point in the history
HTMLUnit 3 should already be implemented in all the plugins that are
included in the bill of materials, but it is better to verify in the
plugin bill of materials now than to discover it with a broken build of
the plugin BOM at release time.

Checking

* jenkinsci/jenkins#8554

Thanks to @D3SOX for the pull request proposing the improvement.
  • Loading branch information
MarkEWaite committed Oct 4, 2023
1 parent 3b22f03 commit f12297a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ stage('prep') {
if (BRANCH_NAME == 'master' || fullTestMarkerFile || env.CHANGE_ID && pullRequest.labels.contains('full-test')) {
branches = [failFast: false]
lines.each {line ->
if (line !- 'weekly') {
return // Older lines are unchanged by the copy button logic pull request
}
pluginsByRepository.each { repository, plugins ->
branches["pct-$repository-$line"] = {
def jdk = line == 'weekly' ? 21 : 11
Expand Down
3 changes: 2 additions & 1 deletion sample-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<bom>weekly</bom>
<jenkins.version>2.425</jenkins.version>
<!-- TODO https://github.com/jenkinsci/jenkins/pull/8554 -->
<jenkins.version>2.426-rc34250.e257b_5995d9a_</jenkins.version>
<spotless.check.skip>false</spotless.check.skip>
</properties>
<dependencyManagement>
Expand Down

0 comments on commit f12297a

Please sign in to comment.