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

Environment variables for credentail does not work any more, and the repo list can not be refreshed properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 2.4.7
    • Fix Version/s: None
    • Component/s: Gradle
    • Environment:

      With Artifactory 4.7.7

      Description

      We used to use -Dartifactory_user=... in the Gradle task, and inject the password 'artifactory_password' as environment variables and it worked fine with plugin 2.2.7.

      After upgrade to 2.4.7, this does not work any more. We have to use "overwrite credential" for resolve and deployment (as the global credential does not meet the need of every teams).

      It would be good to keep the consistent behavior of using the environment variables as credential if they exist, and the "overwrite credential" is not clicked.

      Other issue: after using "overwrite credential" every where, the repo list can not be refreshed with the correct credential. It looks like always using the credential from global config, where the user does not have read access to all repos.

      For me, the repo list shall be retrieved using the credential set in "overwirte credential" if they are set, instead of using the global one.

        Attachments

          Activity

            People

            Assignee:
            eyalbe Eyal Ben David
            Reporter:
            goldyliang Guo Peng Liang
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: