I have 2 Jenkins instances where I want to trigger a job on startup of the master node. The log files of both instances indicate taht the HudsonComputerListener ist triggered an have
"Scanning jobs for node master"
in the log file.
One instance is Scheduling the expected job, the other is not. I tried to find a difference by executing a script via script console to check for all conditions that I found in the source code but to no avail.
Ist there anything other that influences the scheduling of jobs that I have missed?
After a few more hours of trial and error I found a workaroud to leave "Restricted node Label" empty instead of using "master". As far as I understand the source, the empty node Label defaults to "master". The question remains what ist the difference between "master" and "master".
Armin Rauch
added a comment - After a few more hours of trial and error I found a workaroud to leave "Restricted node Label" empty instead of using "master". As far as I understand the source, the empty node Label defaults to "master". The question remains what ist the difference between "master" and "master".
Reid
added a comment - thorndike is it possible that the retiring of the label "master" is part of the problem? The label is now "built-in".
https://community.jenkins.io/t/jenkins-2-319-1-master-controller-built-in-node-built-in/939
Emory Penney
Armin Rauch
Votes:
0Vote for this issue
Watchers:
3Start watching this issue
Created:
Updated:
{"errorMessages":["jqlTooComplex"],"errors":{}}
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]
After a few more hours of trial and error I found a workaroud to leave "Restricted node Label" empty instead of using "master". As far as I understand the source, the empty node Label defaults to "master". The question remains what ist the difference between "master" and "master".