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

In the Parameter page of a build, credentials values are shown by name, which is not unique

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Credentials values are shown using the generated "name" format: `<username>/****** (<description>)`. This is not necessarily unique, and so it may be impossible to tell which creds were actually used. Suggest making this a link to the creds so that the ID may be used to differentiate.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          I had success in the past by providing a unique description.

          Show
          danielbeck Daniel Beck added a comment - I had success in the past by providing a unique description.
          Hide
          nirvine_bnsv Nick Irvine added a comment -

          Daniel Beck Yep, that's a reasonable workaround, but I went to the trouble of giving my creds unique sensible IDs. And a link would be nice regardless.

          Show
          nirvine_bnsv Nick Irvine added a comment - Daniel Beck Yep, that's a reasonable workaround, but I went to the trouble of giving my creds unique sensible IDs. And a link would be nice regardless.
          Hide
          stephenconnolly Stephen Connolly added a comment -

          Oh we may be able to make this work for at least some credentials with the new framework in Credentials 2.0... Will take a look in a couple of weeks when I follow up with a bug fix for the new code

          Show
          stephenconnolly Stephen Connolly added a comment - Oh we may be able to make this work for at least some credentials with the new framework in Credentials 2.0... Will take a look in a couple of weeks when I follow up with a bug fix for the new code
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          src/main/java/com/cloudbees/plugins/credentials/CredentialsParameterValue.java
          src/main/java/com/cloudbees/plugins/credentials/CredentialsStore.java
          src/main/java/com/cloudbees/plugins/credentials/UserCredentialsProvider.java
          src/main/resources/com/cloudbees/plugins/credentials/CredentialsParameterValue/value.jelly
          http://jenkins-ci.org/commit/credentials-plugin/30ce5b3fc323fd45678eb0fd3c21fce04cd91628
          Log:
          [FIXED JENKINS-31991] Where possible, in the Parameter page of a build, the credentials values should be a link to the credential

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/com/cloudbees/plugins/credentials/CredentialsParameterValue.java src/main/java/com/cloudbees/plugins/credentials/CredentialsStore.java src/main/java/com/cloudbees/plugins/credentials/UserCredentialsProvider.java src/main/resources/com/cloudbees/plugins/credentials/CredentialsParameterValue/value.jelly http://jenkins-ci.org/commit/credentials-plugin/30ce5b3fc323fd45678eb0fd3c21fce04cd91628 Log: [FIXED JENKINS-31991] Where possible, in the Parameter page of a build, the credentials values should be a link to the credential

            People

            Assignee:
            stephenconnolly Stephen Connolly
            Reporter:
            nirvine_bnsv Nick Irvine
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: