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

"Some text" in credential name is useless

    XMLWordPrintable

Details

    Description

      Credential name for "secret text" credential always include "Some text" that's not adding any useful information.

      If ID is meaningful, it should use ID. If description is set, it should just use the description and cut off "some text".

      Attachments

        Issue Links

          Activity

            See the screenshot for how silly this looks.

            kohsuke Kohsuke Kawaguchi added a comment - See the screenshot for how silly this looks.

            I experienced this today as well when trying the Credential Binding plugin.

            I had expected that I would be prompted for a "Name" field, in addition to the "Description".

            orrc Christopher Orr added a comment - I experienced this today as well when trying the Credential Binding plugin. I had expected that I would be prompted for a "Name" field, in addition to the "Description".

            Filed a PR that addresses this. Waiting for feedback.

            armfergom Armando Fernandez added a comment - Filed a PR that addresses this. Waiting for feedback.

            Code changed in jenkins
            User: Armando Fernandez
            Path:
            src/main/java/org/jenkinsci/plugins/plaincredentials/StringCredentials.java
            src/main/resources/org/jenkinsci/plugins/plaincredentials/Messages.properties
            http://jenkins-ci.org/commit/plain-credentials-plugin/c73819299f655c09d0f9405f81cdc5473c182340
            Log:
            [FIXED JENKINS-27391] Properly display secret text credentials name

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Armando Fernandez Path: src/main/java/org/jenkinsci/plugins/plaincredentials/StringCredentials.java src/main/resources/org/jenkinsci/plugins/plaincredentials/Messages.properties http://jenkins-ci.org/commit/plain-credentials-plugin/c73819299f655c09d0f9405f81cdc5473c182340 Log: [FIXED JENKINS-27391] Properly display secret text credentials name

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/org/jenkinsci/plugins/plaincredentials/StringCredentials.java
            src/main/resources/org/jenkinsci/plugins/plaincredentials/Messages.properties
            http://jenkins-ci.org/commit/plain-credentials-plugin/0f11129720679273cc69a09f17121e449b1f828d
            Log:
            Merge pull request #5 from armfergom/JENKINS-27391

            JENKINS-27391 Properly display "Secret text" credentials name

            Compare: https://github.com/jenkinsci/plain-credentials-plugin/compare/3f3c7fdfb468...0f1112972067

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/plaincredentials/StringCredentials.java src/main/resources/org/jenkinsci/plugins/plaincredentials/Messages.properties http://jenkins-ci.org/commit/plain-credentials-plugin/0f11129720679273cc69a09f17121e449b1f828d Log: Merge pull request #5 from armfergom/ JENKINS-27391 JENKINS-27391 Properly display "Secret text" credentials name Compare: https://github.com/jenkinsci/plain-credentials-plugin/compare/3f3c7fdfb468...0f1112972067

            People

              armfergom Armando Fernandez
              kohsuke Kohsuke Kawaguchi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: