This tool fetches all GHE orgs defined repos deleting the deprecated service and creates a new GitHub webhook on the code repos.
- Get the list of repos for each GHE org;
- Define the Jenkins master for each org;
- For each repo it
- Get the deprecated Jenkins service hook (if it exists)
- Delete the deprecated Jenkins service hook (if it exists)
- Create the new GitHub webhook based on the CJE master
- Print a list of links for the Jenkins service hooks that couldn´t be deleted (Link direct to the 'Integration and services' page under the repo config page)
- Print a list of links for the new GitHub webhooks that couldn´t be created (Link direct to the 'Webhooks' page under the repo config page)