pull-request-notifier-for-bitbucket icon indicating copy to clipboard operation
pull-request-notifier-for-bitbucket copied to clipboard

PRN now shows "KEEP_THIS_TO_LEAVE_UNCHANGED" so I have no way to confirm what principal is being used

Open davidmichaelkarr opened this issue 7 years ago • 1 comments

Atlassian Bitbucket v4.9.0

I have no idea what version of the prnfb plugin we have. That's managed by a different team, and I don't have direct access to that information.

Our BitBucket installation was updated in the last couple of months which resulted in a change to what we see in the "Pull Request Notification" details. In the past, the "Basic authentication" had a "Username" field that shows the actual user name that is in use. Now, it says "KEEP_THIS_TO_LEAVE_UNCHANGED". The PRNs we define connect to a Jenkins instance that I only partially manage. I work on the defined jobs, but I don't manage the authentication/authorization. I can't tell what principal is supposed to be used for automation from BitBucket to Jenkins. As a result of this combination of systems, I have no idea what principal is being used, and I have no idea what principal is required.

I need to know this information, because I have to change the passwords on a handful of service accounts that I own. I can make a very educated guess of what principal is being used here, but I cannot afford to guess.

How do I get back this information of what principal is being used?

davidmichaelkarr avatar Dec 04 '17 17:12 davidmichaelkarr

  • Logon to the database in use by Bitbucket and look in the PLUGIN_SETTING table.
  • Or, try invoking Jenkins with curl to check if some user/password combination is working.

tomasbjerre avatar Dec 04 '17 18:12 tomasbjerre