-
New Feature
-
Resolution: Unresolved
-
Minor
(refiling from JENKINS-41631)
For example, I would like for a PR to workflow-cps to automatically run tests in other plugins, like workflow-cps-global-lib, with the workflow-cps dependency set to the locally built snapshot. Now for simple cases this could be done easily already with no tricks: ensure that the workflow-cps-global-lib POM defines a workflow-cps-plugin.version property, and override that (as well as jenkins.version where necessary). The trouble comes when the PR to workflow-cps is downstream of a PR to, say, workflow-api. Presumably workflow-cps-global-lib is still using an older (release) version of workflow-api, so the integration test will fail. You could make it define a workflow-api-plugin.version property too, but this could become an endless exercise in replacing every dependency version with a property, and anyway the Jenkinsfile for the workflow-cps PR would then need to be patched to explicitly request the new (timestamped!) snapshot version of workflow-api, duplicating information in pom.xml. This seems unmaintainable. I would rather run the integration test Maven build with some special option, or with some special preprocessing, that automatically updates the workflow-cps version and any transitive dependencies (ideally including the Jenkins baseline too—currently workflow-cps in fact uses a newer baseline than workflow-cps-global-lib) to the upper bounds.
- relates to
-
JENKINS-47498 Select compatible plugin versions using a BOM
-
- Resolved
-
-
JENKINS-50686 [JEP-305] Ability to publish incremental commits as Maven releases
-
- Resolved
-
-
JENKINS-41631 Use requireUpperBoundDeps in plugin POM
-
- Resolved
-
- links to
[JENKINS-45047] Easy way to run integration tests in plugin repositories
Link |
New:
This issue relates to |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "maven-hpi-plugin PR 66 (Web Link)" [ 17166 ] |
Link |
New:
This issue relates to |
Labels | New: essentials |
Link |
New:
This issue relates to |
Labels | Original: essentials | New: essentials evergreen |
Labels | Original: essentials evergreen | New: evergreen |
Component/s | New: bom [ 25623 ] | |
Component/s | New: maven-hpi-plugin [ 23041 ] | |
Component/s | New: plugin-compat-tester [ 15841 ] |
Rank | New: Ranked lower |