[Expired for Python Jenkins because there has been no activity for 60
days.]
** Changed in: python-jenkins
Status: Incomplete => Expired
--
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/1530085
Title:
The methods enable_node and disable_node has no effect
Status in Python Jenkins:
Expired
Bug description:
Hello,
I am currently building a software able to manage Jenkins work with your
Python API, and I want to be able to disable a node when I don't need it for a
moment, to reduce the resources needed by Jenkins.
For that, I have try to use the method enable_node and disable_node, but when
i want to check if the node is actually enable or disable, I do not see any
difference.
Here is a minimal python code to check the behavior that I have tried to
describe previously
```
import jenkins
nodeName = "my_node"
server = jenkins.Jenkins(JENKINS_LOCALHOST_URL)
server.create_node(nodeName)
print(server.get_node_info(nodeName))
server.enable_node(nodeName)
print(server.get_node_info(nodeName))
server.disable_node(nodeName)
print(server.get_node_info(nodeName))
```
Maybe the information is available somewhere else.
I use the python version 3.5 and Jenkins ver. 1.643
Thank you beforehand for your help.
Best regards,
Xavier
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1530085/+subscriptions
--
Mailing list: https://launchpad.net/~python-jenkins-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~python-jenkins-developers
More help : https://help.launchpad.net/ListHelp