[JIRA] (JENKINS-59663) Pipeline input step should never use an executor

2 views
Skip to first unread message

benjamin.muschko@gmail.com (JIRA)

unread,
Oct 4, 2019, 1:00:02 PM10/4/19
to jenkinsc...@googlegroups.com
Benjamin Muschko created an issue
 
Jenkins / Improvement JENKINS-59663
Pipeline input step should never use an executor
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: pipeline
Created: 2019-10-04 16:59
Priority: Minor Minor
Reporter: Benjamin Muschko

If a pipeline declares an agent/node for the whole pipeline or for a stage, an input step will automatically hold on to an executor. As a workaround you will have to define your agent/node declaration in a way that do not wrap the input step.

I cannot think of a use case where you will ever want to hold on to an executor when waiting for a manual input. The approval process can take anywhere from minutes, days or even weeks. I think it's reasonable to say that the input step should handle the behavior internally by never run on an agent/node independent of the agent/node declaration.

Please provide use cases where holding on to an executor makes sense for better understanding in case I am missing something.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages