You may be missing this. This is was the missing bit that solved the problem for me.
In a short:
- Make sure you indeed changed all the old ip references in the config.xml to the new one (something I did before finding the article above, meaning this alone will not do it)
- Make sure you also update the ip in all credentials referencing the old ip.
- Restart jenkins
Your job should successfully complete now.