I have been trying to configure Global Pipeline libraries in Jenkins using GitHub repo, but encountered an issue "invalid account" even though GitHub credentials are correct.
Detailed description:
- GitHub API endpoint is URL: https://github.mycompanydomain/api/v3
- I have provided Library details with Name, Default version and selected Modern SCM
- In Modern SCM, I have selected GitHub, I am able to select API end point from dropdown but when I selected "Credentials" (I have configured this in credentials option in Jenkins with username and password which I have been used to connect gitHub), it is giving "invalid credentials".
Please find below error code image for reference.
Please help,
Regards, Srikanth