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

Authentication support for repository

    XMLWordPrintable

Details

    Description

      Provide a way for maven repo authentication OR use preconfigured Jenkins maven repos.

      Here's log entry: java.io.IOException: Server returned HTTP response code: 401 for URL ....

      Attachments

        Activity

          gesh Gesh Markov added a comment - - edited

          Thanks, Robert, for providing the PR for this one.

          I've just release version 1.1.0 of the plugin with this change in it. Might take a few hours until the plugin is available for download via the built-in jenkins update mechanism.

          Cheers,
          Gesh

          gesh Gesh Markov added a comment - - edited Thanks, Robert, for providing the PR for this one. I've just release version 1.1.0 of the plugin with this change in it. Might take a few hours until the plugin is available for download via the built-in jenkins update mechanism. Cheers, Gesh
          barclay_reg Robert Kleinschmager added a comment - you can use the credential store ( https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Plugin )

          when implementing this, please also make sure the password will not be in the log

          domi Dominik Bartholdi added a comment - when implementing this, please also make sure the password will not be in the log
          gesh Gesh Markov added a comment -

          Yes, that's the only way at the moment. It is not very user-friendly I admit.

          I will keep this task open as a reminder to add 2 additional fields: "Username" & "Password", where password will be a real password field which obscures its input.

          gesh Gesh Markov added a comment - Yes, that's the only way at the moment. It is not very user-friendly I admit. I will keep this task open as a reminder to add 2 additional fields: "Username" & "Password", where password will be a real password field which obscures its input.
          ovaris Olli Varis added a comment -

          Got around with this issue using URL format: http://username:password@... in "Repository Base URL".

          ovaris Olli Varis added a comment - Got around with this issue using URL format: http://username:password@ ... in "Repository Base URL".

          People

            gesh Gesh Markov
            ovaris Olli Varis
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: