Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-736

Jenkins builds may fail due to 401 error when authenticating using the Credentials plugin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Symptom:
      When using the credentials plugin with Jenkins Artifactory plugin for running a Jenkins build job, it may fail due to "lost" credentials.

      Server and plugin versions reproduced on:
      Artifactory 4.7.1
      Jenkins 1.603
      JAP 2.4.7

      Steps to reproduce:
      1. Use the manage menu to define credentials for Artifactory
      2. Configure a Maven job (tested with our Maven-Example) as well as the previously set credentials
      3. Build successfully
      4. Stop Jenkins (completely)
      5. Start Jenkins
      6. Run the job again; if anonymous deploy is disabled, the job will fail with 401 error.

      Workaround:

      Manually specify Artifactory credentials within a given build.

        Attachments

          Activity

            People

            • Assignee:
              alexeiv Alexei Vainshtein
              Reporter:
              andreik Andrei Komarov
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: