When configuring a Bitbucket Server job using a pipeline script, the credentialId argument is formatted as a uuid instead of a human-readable identifier. It would be more portable and friendly for developers if the serverId could be the human-readable String identifier chosen to identify the credential.

          [JENKINS-66500] Accept credential name instead of UUID

          This looks pretty similar to JENKINS-63186.

          Kalle Niemitalo added a comment - This looks pretty similar to JENKINS-63186 .

          Oops, no, JENKINS-63186 is for the Bitbucket admin token credential type, which cannot even be referenced in a pipeline script.

          Which pipeline step and credential type are you using, then?

          Kalle Niemitalo added a comment - Oops, no, JENKINS-63186 is for the Bitbucket admin token credential type, which cannot even be referenced in a pipeline script. Which pipeline step and credential type are you using, then?

          If this is about the credentialsId (”Username with password” type) or sshCredentialsId (”SSH Username with private key” type) parameters of the bbs_checkout step, then I believe you can set a human-readable ID when you add those credentials to Jenkins. That is the capability that JENKINS-63186 says is missing from the Bitbucket admin token credential type.

          Kalle Niemitalo added a comment - If this is about the credentialsId (”Username with password” type) or sshCredentialsId (”SSH Username with private key” type) parameters of the bbs_checkout step, then I believe you can set a human-readable ID when you add those credentials to Jenkins. That is the capability that JENKINS-63186 says is missing from the Bitbucket admin token credential type.

          Oh, geez. Yup. Nevermind.
          There's three UUIDs in my pipeline and this one is just my own fault.

          Timothy Brackett added a comment - Oh, geez. Yup. Nevermind. There's three UUIDs in my pipeline and this one is just my own fault.

            Unassigned Unassigned
            brackett_tc Timothy Brackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: