When performing a node name rework, it is possible (partially?) overwrite a node with another one simply by renaming an existing node.
Steps to reproduce:
- Create a node named foo
- Create another node named bar
- Go to the bar node configuration
- Rename it to foo and press Save
- An error message.
- Node bar replaces foo without any notice
- Things start to behave wacky: build starts to fail without a reason (see attached edited log, Jenkins-BuildBreakageAfterNodeRename.txt