Jenkins setup: 2.462+
I have a Github Organization setup in my Jenkins. I scanned the organization and have repositories populated in Jenkins. When I click the “View Configuration” of a repository. I see exception validating credentials. The log shows below:
o.j.p.g.Connector#checkScanCredentials: Exception validating credentials xxx on null
The credentials and repository are correct. However, the repository url passed is null. This behaviour started from jenkins version 2.462. Previous versions do not have this issue.
Any help/thoughts are appreciated.
I can’t duplicate the issue. I opened one of the jobs in my GitHub organization folder and viewed the configuration without any issue. I did the same on ci.jenkins.io and had no issue there either.
I think that you’ll need to provide more details so that others can duplicate the issue or help with the issue.
@MarkEWaite Thanks you for your response.
I figured out the issue. In jenkins 2.462, there is a fix that is making enums in View Configuration read only [JENKINS-72854] fix the enum jelly to take readOnlyMode into account by Pldi23 · Pull Request #9336 · jenkinsci/jenkins · GitHub
My jenkins had an invalid HTTPS certificate because of which google chrome marked my jenkins site as insecure. Due to this, google chrome do not read the read only fields. Which cause the repository Url sent to branch source plugin as null.
I had no issue in Firefox.