13. Verify the Global Credentials".
14. Click Jenkins Admin->"Configure".
15. Delete the Legacy API Token and hit Save".
16. Click "Add New Token. Copy and save the value immediately as you will not be able to view again! .
17. Login into ESM. Goto System settings, and enter the API token value under the "Jenkins Token" textbox. Then hit "Save".
18. At this point you should be done. Restart Jenkins and ESM.
19. Go to all slave nodes, and remove the .wgetrc file. Then restart the slave agent.
20. Verify things are working again by testing an upgrade.