Skip to content

chore(pipeline): allow to run pct tests on a limited plugin set - #7215

Merged
lemeurherve merged 3 commits into
jenkinsci:masterfrom
lemeurherve:limited-plugin-set
Aug 8, 2026
Merged

chore(pipeline): allow to run pct tests on a limited plugin set#7215
lemeurherve merged 3 commits into
jenkinsci:masterfrom
lemeurherve:limited-plugin-set

Conversation

@lemeurherve

@lemeurherve lemeurherve commented Aug 7, 2026

Copy link
Copy Markdown
Member

This change allows to specify in a replay or via a commit a limited set of plugins on which to run pct tests, and marks the build as unstable if not empty to avoid any mistake or oversight.

Ref:

Testing done

Replay with weekly-test label:

https://ci.jenkins.io/job/Tools/job/bom/view/change-requests/job/PR-7215/5/

-final String[] limitedPluginSet = []
+final String[] limitedPluginSet = [
+  'jenkinsci/pipeline-stage-view-plugin\tpipeline-rest-api,pipeline-stage-view',
+  'jenkinsci/ssh-agent-plugin\tssh-agent',
+]
image

Normal build with no value set:

https://ci.jenkins.io/job/Tools/job/bom/view/change-requests/job/PR-7215/6/stages/?selected-node=51

Build logs show that all repositories from the plugins.txt file generated by prep.sh are taken in account, as expected:

image

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@lemeurherve lemeurherve added chore Reduces future maintenance internal weekly-test Test only the Weekly line in this PR labels Aug 7, 2026
@lemeurherve lemeurherve removed the weekly-test Test only the Weekly line in this PR label Aug 7, 2026
@lemeurherve
lemeurherve marked this pull request as ready for review August 7, 2026 18:39
@lemeurherve
lemeurherve requested a review from a team as a code owner August 7, 2026 18:39
Comment thread Jenkinsfile
Comment on lines +9 to +10
// Expected list item format: jenkinsci/<repo-name>, tab, <coma separated plugin(s)>
// Ex: 'jenkinsci/pipeline-stage-view-plugin\tpipeline-rest-api,pipeline-stage-view'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using \t instead of in the example to avoid unexpected tab conversion into space on copy/paste.

A proper tab works too ofc.

@lemeurherve
lemeurherve merged commit 8fcc557 into jenkinsci:master Aug 8, 2026
4 checks passed
@lemeurherve
lemeurherve deleted the limited-plugin-set branch August 8, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Reduces future maintenance internal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants