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

          ovaris Olli Varis created issue -
          ovaris Olli Varis made changes -
          Field Original Value New Value
          Component/s maven-metadata-plugin [ 17226 ]
          Component/s metadata-plugin [ 17222 ]
          Description Provide a way for maven repo authentication OR use preconfigured Jenkins maven repos. 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 ....
          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".
          ovaris Olli Varis made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          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.
          gesh Gesh Markov made changes -
          Assignee rsandell [ rsandell ] Gesh Markov [ gesh ]

          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
          barclay_reg Robert Kleinschmager added a comment - you can use the credential store ( https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Plugin )
          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
          gesh Gesh Markov made changes -
          Fix Version/s current [ 10162 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          gesh Gesh Markov made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 149360 ] JNJira + In-Review [ 206672 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: