[JENKINS-53401] Tie nodeProperties to the current node for save purpose (cherry picked from commit b41a139e)