Our Github token expired leading to this "bad credentials" error. After a fresh token regeneration, the jobs are not picking up the new token.
Here's the error we get:
Could not update commit status of the Pull Request on GitHub. org.kohsuke.github.HttpException: {"message": "Bad credentials", "documentation_url": https://developer.github.com/v3"}
The only thing that helps is to clone the job. The cloned job works without any issues. We have 100's of jobs and cloning each single one is not feasible. Is there any workaround for existing jobs to pick up the fresh token?
Our Github token expired leading to this "bad credentials" error. After a fresh token regeneration, the jobs are not picking up the new token.
Here's the error we get:
Could not update commit status of the Pull Request on GitHub. org.kohsuke.github.HttpException: {"message": "Bad credentials", "documentation_url": https://developer.github.com/v3"}
The only thing that helps is to clone the job. The cloned job works without any issues. We have 100's of jobs and cloning each single one is not feasible. Is there any workaround for existing jobs to pick up the fresh token?
Jenkins version: 2.222.1 GHPRB: 1.42.0