Seems like it is a jenkins bug https://issues.jenkins- ci.org/browse/JENKINS-49644 not returning currentExecutable
-- 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/1787430 Title: get_running_builds always returns empty list Status in Python Jenkins: New Bug description: python-jenkins 1.1.0 Jenkins 2.121.2 print server.get_running_builds() [] get_running_builds always returns an empty set https://github.com/openstack/python-jenkins/blob/master/jenkins/__init__.py#L1437 INFO:root:{u'progress': 29, u'idle': False, u'likelyStuck': False, u'number': 0, u'currentExecutable': None} INFO:root:{u'progress': 27, u'idle': False, u'likelyStuck': False, u'number': 1, u'currentExecutable': None} INFO:root:{u'progress': 26, u'idle': False, u'likelyStuck': False, u'number': 3, u'currentExecutable': None} INFO:root:{u'progress': 21, u'idle': False, u'likelyStuck': False, u'number': 2, u'currentExecutable': None} This line always evaluates as false since currentExecutable is always None if executable and 'PlaceholderTask' not in executable.get('_class', ''): To manage notifications about this bug go to: https://bugs.launchpad.net/python-jenkins/+bug/1787430/+subscriptions -- Mailing list: https://launchpad.net/~python-jenkins-developers Post to : python-jenkins-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~python-jenkins-developers More help : https://help.launchpad.net/ListHelp