This was introduced with the fix for https://bugs.launchpad.net/python- jenkins/+bug/1659787.
I think it makes much more sense to just check if number is already set… -- 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/1750372 Title: Include placeholder tasks with running builds Status in Python Jenkins: New Bug description: Pipeline jobs in in Jenkins 2.x appear as placeholder tasks for their entire lifetime when queried via the API so we can't excluded them when we list the running builds on a node. To manage notifications about this bug go to: https://bugs.launchpad.net/python-jenkins/+bug/1750372/+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