There is no way currently to always get the node name via the api or the GUI
I have a branch with the fix for this, but I am waiting for the OK from selenic to use the Mercurial logo for the Action icon
Code changed in jenkins
User: Stephen Connolly
[FIXES JENKINS-9964] Expose the node name via the API and the GUI.
Is there any work remaining for this feature?
Never did yet approval to use the icon... pity