python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00675
[Bug 1943402] Re: cannot find the master(Build-In Node) node after jenkins v2.307
I'm interested, too. Anything we could do to help?
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1943402
Title:
cannot find the master(Build-In Node) node after jenkins v2.307
Status in Python Jenkins:
Fix Released
Bug description:
File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 1453, in get_running_builds
info = self.get_node_info(node_name, depth=2)
File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 1513, in get_node_info
raise JenkinsException('node[%s] does not exist' % name)
jenkins.JenkinsException: node[Built-In Node] does not exist
I have fixed this bug by myself. it is as follows,
edit file: /usr/local/lib/python2.7/dist-packages/jenkins/__init__.py,
1, in the 1448 line, change
if node['name'] == 'master':
into
if node['name'] == 'master' or node['name'] == "Built-In Node":
2, in the 1512 line, in the beginning of the get_node_info function, add the following codes,
if name == "Built-In Node":
name = '(master)'
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1943402/+subscriptions
References