-
Improvement
-
Resolution: Duplicate
-
Major
Rebuild-last/Rebuild plugin does not carry parameters passed in from parent job when using folders.
These are parameters that are not defined in the job itself — the job relies on a parent build-flow job to pass them in.
- duplicates
-
JENKINS-24491 Regression: parameters not retrieved when rebuilding a gitlab-merge-request-builder triggered job
-
- Resolved
-
- is duplicated by
-
JENKINS-24600 Rebuild Job which was started using the paramet
-
- Resolved
-
[JENKINS-24468] Rebuild should offer parameters not currently defined on the job
Component/s | New: rebuild [ 15744 ] | |
Component/s | Original: parameters [ 15594 ] | |
Affects Version/s | Original: current [ 10162 ] | |
Labels | Original: folders jenkins plugin rebuild rebuild-last | New: rebuild rebuild-last |
Summary | Original: Support Folders | New: Rebuild should offer parameters not currently defined on the job |
Has nothing to do with folders or build flow.
The current behavior seems sane, as it only provides parameters currently defined on job (i.e. its contract). This is the resilient option in the face of job configuration changes between the time a build was started and when a user tries to rebuild, so that when a parameter is removed or renamed, it will no longer be part of "rebuild".
Considering both behaviors, the current one seems to be less surprising.
If a build script accesses certain parameters, why not just define them on the job running the build script?