Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-73676

Error configuring git on build - Overall Administrative privileges

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • None
    • Jenkins version: 2.462.1
      Git Client plugin: 5.0.0
      Git plugin: 5.3.0

      The user has full access to the folder and the job, however does not have Overall Administrative privileges.

      I expect the user to be able to configure the job without issue.

      The user receives an error that they don't have permission and the top banner is duplicated down in the git section. 

      In my logs I see

      {{Aug 07 16:03:30 server java[1023]: 2024-08-07 20:03:30.162+0000 [id=40]        INFO        o.e.j.s.h.ContextHandler$Context#log: While serving https://server/job/folder-name/job/jon-name/descriptorByName/jenkins.plugins.git.GitSCMSource/checkRemote: hudson.security.AccessDeniedException3: username is missing the Overall/Administer permission}}
      

       
       

          [JENKINS-73676] Error configuring git on build - Overall Administrative privileges

          Mark Waite added a comment -

          An incremental build is available with the fix. jschewe could you test drive that incremental build and confirm that it resolves the issue for you?

          The incremental build passed my interactive testing and was approved by an additional maintainer, so I've merged it to the master branch. I'd prefer to have your verification that it is sufficient before the fix is released.

          Mark Waite added a comment - An incremental build is available with the fix. jschewe could you test drive that incremental build and confirm that it resolves the issue for you? The incremental build passed my interactive testing and was approved by an additional maintainer, so I've merged it to the master branch. I'd prefer to have your verification that it is sufficient before the fix is released.

          Jon Schewe added a comment -

          Mark, thank you for the quick turn around on this. I loaded your version of the git plugin on my system and it appears to have solved the problem.

          Jon Schewe added a comment - Mark, thank you for the quick turn around on this. I loaded your version of the git plugin on my system and it appears to have solved the problem.

          Mark Waite added a comment -

          Thanks jschewe. I'll plan to release a new version soon.

          Mark Waite added a comment - Thanks jschewe . I'll plan to release a new version soon.

            markewaite Mark Waite
            jschewe Jon Schewe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: