• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • credentials-plugin
    • None
    • production 2.375.2

      In job configuration we are trying to pass an account to be the login for the Bitbucket repo but have found that the service account running Jenkins is being passed regardless of the specified account passed for the job.

      Here is an example of the log showing the wrong account being passed:

      gateway.git/info/refs HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider SVC-Hudson-Prod: Authentication failed; user is not licensed 

       

      The account to be passed is svc-build-prod

          [JENKINS-70549] Built-in Credential Plugin issue

          Mark Waite added a comment -

          I can't duplicate the problem as described.  Please provide enough information so that others can duplicate the problem.

          Mark Waite added a comment - I can't duplicate the problem as described.  Please provide enough information so that others can duplicate the problem.

          Mark Waite added a comment -

          Closing as "cannot reproduce" after 4 days without a response.

          Mark Waite added a comment - Closing as "cannot reproduce" after 4 days without a response.

          Jeremiah added a comment -

          See new comment

          Jeremiah added a comment - See new comment

          Jeremiah added a comment -

          Please see screenshots for further information and current setup. On a side note the Jenkins Build server we are working with is brand new install and we have a older server we have that functions in the manner I described in the initial issue request. You will see it in the screenshot of the logs I will supply below.

           

          New Server and older server running under this account:

          Bitbucket Global permissions for the SVC-Build-Prod account

          Logs on Bitbucket showing the wrong account connecting for the job and old server connection completing successfully: (new server connection on top and old server connection below)

          Account Selected on the new server that should be making the connection:

          According to the logs from Bitbucket above it seems that even if I am asking a certain account to connect and do the build it is only taking the SVC-Hudson account that is running the services for Jenkins.

           

          Jeremiah added a comment - Please see screenshots for further information and current setup. On a side note the Jenkins Build server we are working with is brand new install and we have a older server we have that functions in the manner I described in the initial issue request. You will see it in the screenshot of the logs I will supply below.   New Server and older server running under this account: Bitbucket Global permissions for the SVC-Build-Prod account Logs on Bitbucket showing the wrong account connecting for the job and old server connection completing successfully: (new server connection on top and old server connection below) Account Selected on the new server that should be making the connection: According to the logs from Bitbucket above it seems that even if I am asking a certain account to connect and do the build it is only taking the SVC-Hudson account that is running the services for Jenkins.  

          Jeremiah added a comment -

          Is anyone looking at this?

          Thanks,

          Jeremiah added a comment - Is anyone looking at this? Thanks,

          Mark Waite added a comment -

          I am not looking at it. I don't speak for any others.

          Mark Waite added a comment - I am not looking at it. I don't speak for any others.

            Unassigned Unassigned
            jseward Jeremiah
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: