jenkinsci / jenkinsci/parameterized-trigger-plugin

[JENKINS-12621] Give the option to pass either the last changed rev or the current latest rev when triggering downstream builds.

Open
#517 2 comments 0 reactions 0 assignees View on GitHub
component:parameterized-trigger-plugin component:subversion-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
77
Forks
174
Avg merge
22h 27m
Merged PRs (30d)
1

Description

We are using the parameterized trigger build to kick off child builds that use the Template Project Plugin to use the same SCM configuration as the parent build.

If the SVN revision is not passed as a parameter via parameterized-trigger the child build checks out whatever the latest revision is, even if it's newer than the parent's revision.

If the SVN revision is passed then each child subtree is updated to the latest revision it was changed in instead of the version the parent checked out.

Our builds include the SVN revision as part of their version and this makes the child build revision numbers not match the parent build revision, even though they are functionally the same. It would be nice to have an option to choose to pass either the revision of the last change for each checked out tree, to use the same revision as the parent build, or just always pass the revision of the parent build instead of the last changed revision.

---
Originally reported by jonathan, imported from: Give the option to pass either the last changed rev or the current latest rev when triggering downstream builds.


  • assignee: huybrechts
  • status: Open
  • priority: Minor
  • component(s): parameterized-trigger-plugin, subversion-plugin
  • resolution: Unresolved
  • votes: 2
  • watchers: 3
  • imported: 2025-12-07

Raw content of original issue

We are using the parameterized trigger build to kick off child builds that use the Template Project Plugin to use the same SCM configuration as the parent build.

If the SVN revision is not passed as a parameter via parameterized-trigger the child build checks out whatever the latest revision is, even if it's newer than the parent's revision.

If the SVN revision is passed then each child subtree is updated to the latest revision it was changed in instead of the version the parent checked out.

Our builds include the SVN revision as part of their version and this makes the child build revision numbers not match the parent build revision, even though they are functionally the same. It would be nice to have an option to choose to pass either the revision of the last change for each checked out tree, to use the same revision as the parent build, or just always pass the revision of the parent build instead of the last changed revision.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.