Why is Jenkins executor shown while in waiting or flyweight state?

Article ID:209686827
1 minute readKnowledge base

Issue

When my pipeline is paused for input (this could be for quite some time such as days/weeks), it still shows on the main screen that an executor is taken up and that it’s active. I would prefer, if possible, that only my pipeline stage view is showing the waiting for input and that the common page executor isn’t displayed, or even taken up.

Environment

  • CloudBees Jenkins Enterprise

  • Pipeline Plugin

Resolution

If you put input inside a node block it will keep the executor live. Most use cases want it outside any node block, so you release the executor while waiting.