Jenkins – Reserved for Jobs with Matching Label Expression

Jenkins

I have installed blue-ocean plugin and create a simple pipeline with print message. When I run the pipeline, build job hang with below message

Queued Jenkins is reserved for jobs with matching label expression

How to get rid of this message and build the project?

Best Answer

I could prevent this error and continue the build by assigning a slave node with a label. I have done this by editing the pipeline and assigning label for agent option.

EDIT

When I further checked settings section, I could notice that, Amazon EC2 Plugin is installed in this Jenkins instance and all the clouds available are using this configuration.

Usage : Only build jobs with label expressions matching this node