-
New Feature
-
Resolution: Fixed
-
Major
-
None
Hi,
I have a workflow that need a user input at some stage.
However, due to the frequent commits, which trigger the builds, I get to the case when I have several builds of the same workflow stay idle in the list awaiting the user input.
I would expectr my workflow to discard older builds if the newer build has reached the same stage.
But I cannot succeed that goal.
If I use the workflow like:
stage title: 'DevBuild', concurrency: 1 // do build stage title: 'Integration', concurrency: 1 input message: 'Proceed?' // do integration
then the very first build enters 'Integration' stage and pauses for user input. The other newer builds may superseed each other, but there is always the last build that gets to 'Integration' stage and waits until the very first build completes (because it cannot enter stage Integration).
I would like the newer build to discard the older build which waits for user input in this case, so that newer build can be decided by the user.
Is it possible to implement such a scenario?
Thank you
- is related to
-
JENKINS-32829 Older builds allowed to wait for a throttled stage which a newer build is in
-
- Closed
-
-
JENKINS-29892 Block of stages functioning as a concurrency unit
-
- Resolved
-
-
JENKINS-30757 Use stage as a resource lock
-
- Resolved
-
- links to
[JENKINS-27039] Option for input or stage step to cancel older executions
Issue Type | Original: Improvement [ 4 ] | New: New Feature [ 2 ] |
Summary | Original: User input in a stage | New: Option for input step to cancel older executions |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Summary | Original: Option for input step to cancel older executions | New: Option for input or stage step to cancel older executions |
Link |
New:
This issue is related to |
Remote Link | New: This issue links to "PR 177 (Web Link)" [ 13110 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Link |
New:
This issue is related to |
Link |
New:
This issue is related to |
Assignee | Original: Jesse Glick [ jglick ] | New: Antonio Muñiz [ amuniz ] |
Remote Link | New: This issue links to "PR 355 (Web Link)" [ 14028 ] |