remove nodes from job

2016-08-08 Thread Kaushal Shriyan
Hi, Is there a way to remove node config for a particular job? for example i have the job by the name smstask and there are 4 tomcat servers tomcat1,2,3 and 4 and is there a way to uncheck tomcat 3 and 4 when i execute the job smstask. In short smstask job will deploy only on tomcat1 and 2 and

Re: remove nodes from job

2016-08-09 Thread mosh5cis
Here is how you can restrict a job to run on a specified set of nodes 1. Go to "smstask" job's configuration 2. Search "Restrict where this project can be run" checkbox and check it 3. In "Label Expression" that shows up, enter the labels of the nodes on which you would like to restrict "smstask

Re: remove nodes from job

2016-08-09 Thread 'Björn Pedersen' via Jenkins Users
Hi, a bit more details would have been fine. I guess you are using a multi-configuration job. Probably take a look at https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin Alternativly, add a parameter with allowed label (possibly using one of the advance Param plugins likeh

Re: remove nodes from job

2016-08-09 Thread Mark Waite
The "platform labeler plugin" automatically labels agents for operating system name and version ("Ubuntu", "windows", "Debian 8.0", etc.) The implied labels plugin allows me to create labels based on boolean combinations of other labels (like "old-git" is defined as "CentOS || RedHatEnterpriseServ