From 4a4a055a22bc72f6ccc427c9607ac41adb1688fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= Date: Fri, 7 Aug 2026 18:35:13 +0200 Subject: [PATCH 1/3] chore(pipeline): allow to run pct tests on a limited plugin set --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 7ffc15244..7ab3cc50f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,6 +5,10 @@ if(env.BRANCH_NAME == "master") { } env.MAVEN_NTP = true +// Run pct tests on a limited set of repositories and their plugin(s) if not empty +// Expected format: jenkinsci/, tab, +// Ex: 'jenkinsci/pipeline-stage-view-plugin pipeline-rest-api,pipeline-stage-view' +final String[] limitedPluginSet = [] properties([ disableConcurrentBuilds(abortPrevious: true), @@ -76,6 +80,10 @@ stage('prep') { fullTestMarkerFile = fileExists 'full-test' weeklyTestMarkerFile = fileExists 'weekly-test' def plugins = readFile('target/plugins.txt').split('\n') + if (limitedPluginSet) { + unstable 'WARNING: running on a limited plugin set' + plugins = limitedPluginSet + } pluginsByRepository = parsePlugins(plugins) lines = readFile('target/lines.txt').split('\n') From fc52c8a3dbd58c9455e3481ddb7dcfc3c8699555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= Date: Fri, 7 Aug 2026 19:58:54 +0200 Subject: [PATCH 2/3] use `\t` in example to avoid bad tab conversion to spaces on copy --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7ab3cc50f..4d7b0857c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,8 +6,8 @@ if(env.BRANCH_NAME == "master") { env.MAVEN_NTP = true // Run pct tests on a limited set of repositories and their plugin(s) if not empty -// Expected format: jenkinsci/, tab, -// Ex: 'jenkinsci/pipeline-stage-view-plugin pipeline-rest-api,pipeline-stage-view' +// Expected list item format: jenkinsci/, tab, +// Ex: 'jenkinsci/pipeline-stage-view-plugin\tpipeline-rest-api,pipeline-stage-view' final String[] limitedPluginSet = [] properties([ From f2b6cbfc6f224c2114923b2ce70f6da764bf3283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= Date: Fri, 7 Aug 2026 20:00:27 +0200 Subject: [PATCH 3/3] `WARNING:` is already added as prefix by `unstable` --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4d7b0857c..48514daf8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -81,7 +81,7 @@ stage('prep') { weeklyTestMarkerFile = fileExists 'weekly-test' def plugins = readFile('target/plugins.txt').split('\n') if (limitedPluginSet) { - unstable 'WARNING: running on a limited plugin set' + unstable 'Running on a limited plugin set' plugins = limitedPluginSet } pluginsByRepository = parsePlugins(plugins)