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

I added a new 'Username with password' using the 'Add' button inside my project. I see it globally, but cannot select it from dropdown.

    Details

    • Similar Issues:

      Description

      I added a new 'Username with password' using the 'Add' button inside my project. I see it globally, but cannot select it from the dropdown.

        Attachments

          Activity

          Hide
          mcsf M Chon added a comment -

          So, today, I went back into the Manage Credentials area of Jenkins, and I noticed there is a new credential type, 'Sauce Labs'.
          So, I went ahead and entered the credential here, as a 'Sauce Labs' credential, and now when I go into my project, it shows up in the dropdown list. See screen shot.

          So the issue is that the 'Add' button in the Sauce Labs plugin does not create the correct type of credential. It creates a username/password credential, instead of a Sauce Labs credential.

          Show
          mcsf M Chon added a comment - So, today, I went back into the Manage Credentials area of Jenkins, and I noticed there is a new credential type, 'Sauce Labs'. So, I went ahead and entered the credential here, as a 'Sauce Labs' credential, and now when I go into my project, it shows up in the dropdown list. See screen shot. So the issue is that the 'Add' button in the Sauce Labs plugin does not create the correct type of credential. It creates a username/password credential, instead of a Sauce Labs credential.
          Hide
          mcsf M Chon added a comment -

          It has been pointed out to me that when clicking on the 'Add' button, in the screen which pops up, there is actually a dropdown menu where you can select the credential type. It just so happens to default to 'Username with Password', but 'Sauce Labs' is also on the dropdown.

          From a user standpoint, it would be much nicer if 'Sauce Labs' were automatically selected. Otherwise, the user might just go ahead and create a 'Username with Password' credential, which obviously won't work with the Sauce plugin.

          When the window to create a new credential pops up, 'Sauce Labs' should be pre-selected as the option.

          Show
          mcsf M Chon added a comment - It has been pointed out to me that when clicking on the 'Add' button, in the screen which pops up, there is actually a dropdown menu where you can select the credential type. It just so happens to default to 'Username with Password', but 'Sauce Labs' is also on the dropdown. From a user standpoint, it would be much nicer if 'Sauce Labs' were automatically selected. Otherwise, the user might just go ahead and create a 'Username with Password' credential, which obviously won't work with the Sauce plugin. When the window to create a new credential pops up, 'Sauce Labs' should be pre-selected as the option.
          Hide
          stephenconnolly Stephen Connolly added a comment -

          It should but it is technically very difficult to enable that with the way Jenkins page rendering works. It was very tricky even getting the store selection button to display only those credential types that were applicable to the stores.

          IMO the issue here is Sauce Labs should not be re-inventing the wheel, rather they should be using Username/Password credentials and pushing people to use credential domains

          Show
          stephenconnolly Stephen Connolly added a comment - It should but it is technically very difficult to enable that with the way Jenkins page rendering works. It was very tricky even getting the store selection button to display only those credential types that were applicable to the stores. IMO the issue here is Sauce Labs should not be re-inventing the wheel, rather they should be using Username/Password credentials and pushing people to use credential domains
          Hide
          stephenconnolly Stephen Connolly added a comment -

          I do not intend trying to fix this issue at present. However, if somebody else can come up with a PR to fix this then I will consider it

          Show
          stephenconnolly Stephen Connolly added a comment - I do not intend trying to fix this issue at present. However, if somebody else can come up with a PR to fix this then I will consider it
          Hide
          mcsf M Chon added a comment -

          Thanks for looking into it.

          Show
          mcsf M Chon added a comment - Thanks for looking into it.

            People

            • Assignee:
              stephenconnolly Stephen Connolly
              Reporter:
              mcsf M Chon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: