We were using GitHub plugin with Username and password credentials so far in our Jenkins setup.
However, after Aug 13th, 2021, this stopped working raising this error:
stderr: remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/
for more information.
As per the answer provided by in How to use Github Personal Access Token in Jenkins
I modified the URL to be:
https://<access token>@github.com/<userName>/<organization>/<repository>.git
but it did not work.
Am I missing any steps here?