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

Using Credentials as attributes shows all perforce credentials with same description

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Created 2 perforce credentials. Used perforce credentials as one of the attribute. When running the build job in drop down for selecting perforce credentials shows both descriptions same "Perforce Software Credentials". It s difficult to differentiate which credential is which one. While using it as part of perforce setting block in job the drop down choice appear fine "Perforce Software Credential - xxxxx". The drop down for attribute value selection should also have the same behavior.

        Attachments

          Activity

          Show
          jglick Jesse Glick added a comment - The JIRA link daemon is dead, I think. Sangeeta Narang you can try this build if you want to verify: https://jenkins.ci.cloudbees.com/job/plugins/job/p4-plugin/org.jenkins-ci.plugins$p4/104/artifact/org.jenkins-ci.plugins/p4/1.0.24-SNAPSHOT/p4-1.0.24-SNAPSHOT.hpi
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/com/cloudbees/plugins/credentials/CredentialsNameProvider.java
          src/test/java/com/cloudbees/plugins/credentials/CredentialsNameProviderTest.java
          http://jenkins-ci.org/commit/credentials-plugin/813ca86ea4c749295556c20f60c4114a91db36e4
          Log:
          JENKINS-25682 Adding test which failed in interfaceOfSuperclassAnnotated.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/com/cloudbees/plugins/credentials/CredentialsNameProvider.java src/test/java/com/cloudbees/plugins/credentials/CredentialsNameProviderTest.java http://jenkins-ci.org/commit/credentials-plugin/813ca86ea4c749295556c20f60c4114a91db36e4 Log: JENKINS-25682 Adding test which failed in interfaceOfSuperclassAnnotated.
          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/CredentialsNameProvider.java
          src/test/java/com/cloudbees/plugins/credentials/CredentialsNameProviderTest.java
          http://jenkins-ci.org/commit/credentials-plugin/1d51a488fbdaa994f598648f96d579e644bc815e
          Log:
          Merge pull request #17 from jglick/JENKINS-25682-CredentialsNameProvider

          JENKINS-25682 Fixing interfaceOfSuperclassAnnotated

          Compare: https://github.com/jenkinsci/credentials-plugin/compare/f71aef05722a...1d51a488fbda

          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/CredentialsNameProvider.java src/test/java/com/cloudbees/plugins/credentials/CredentialsNameProviderTest.java http://jenkins-ci.org/commit/credentials-plugin/1d51a488fbdaa994f598648f96d579e644bc815e Log: Merge pull request #17 from jglick/ JENKINS-25682 -CredentialsNameProvider JENKINS-25682 Fixing interfaceOfSuperclassAnnotated Compare: https://github.com/jenkinsci/credentials-plugin/compare/f71aef05722a...1d51a488fbda
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Paul Allen
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/p4/credentials/P4PasswordImpl.java
          src/main/java/org/jenkinsci/plugins/p4/credentials/P4TicketImpl.java
          http://jenkins-ci.org/commit/p4-plugin/ae4942e0977fcc00847962444bb2aef7582913e6
          Log:
          Remove `@NameWith` annotation

          The 1.19 Credential release fixes the issue.

          JENKINS-25682

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Paul Allen Path: pom.xml src/main/java/org/jenkinsci/plugins/p4/credentials/P4PasswordImpl.java src/main/java/org/jenkinsci/plugins/p4/credentials/P4TicketImpl.java http://jenkins-ci.org/commit/p4-plugin/ae4942e0977fcc00847962444bb2aef7582913e6 Log: Remove `@NameWith` annotation The 1.19 Credential release fixes the issue. JENKINS-25682
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/com/cloudbees/plugins/credentials/CredentialsNameProvider.java
          src/test/java/com/cloudbees/plugins/credentials/CredentialsNameProviderTest.java
          src/test/java/com/cloudbees/plugins/credentials/impl/UsernamePasswordCredentialsImplTest.java
          http://jenkins-ci.org/commit/credentials-plugin/c1470db23f2ecde3f8cf1a96120a3920452bb5f0
          Log:
          JENKINS-25682 #17 refinement: NameWith.priority is intended to be compared amongst also interfaces implemented closer in the superclass chain than others.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/com/cloudbees/plugins/credentials/CredentialsNameProvider.java src/test/java/com/cloudbees/plugins/credentials/CredentialsNameProviderTest.java src/test/java/com/cloudbees/plugins/credentials/impl/UsernamePasswordCredentialsImplTest.java http://jenkins-ci.org/commit/credentials-plugin/c1470db23f2ecde3f8cf1a96120a3920452bb5f0 Log: JENKINS-25682 #17 refinement: NameWith.priority is intended to be compared amongst also interfaces implemented closer in the superclass chain than others.

            People

            • Assignee:
              Unassigned
              Reporter:
              snarang Sangeeta Narang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: