Configuring Jenkis jobs to run on specific nodes

Posted: September 16, 2018 in Jenkins

In last post we configured Jenkins nodes.Now we’ll define nodes on which Jenkins nods will be executed.

It’s simple to do:

First label a  node and in Usage,from drop-down method choose “Only build jobs with label expressions matching this node”

1.PNG

 

Then on job properties,under General select “Restrict where this project can be run”

and under Label expression Enter node label

 

2.PNG

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s