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

Environment variables not passed to Artifactory

    Details

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

      Description

      In Jenkins, as a "Pre Steps", I inject an environment variable via property file. The property file is generated during build time. As the "Post-build Actions", I deploy artifacts to Artifactory. Although I check "Include all environment variables", my environment variable is not listed in Artifactory's "Environment" panel for builds. In Jenkins, I've also added the environment variable in "Deployment properties" under the section "Deploy maven artifacts". But in Artifactory, the variable was not resolved in the Repository Browser > "Metadata" of the deployed artifact. The property key is listed but the value is still the variable (e.g. $value), and not the concrete value.

        Attachments

          Activity

            People

            • Assignee:
              shayy Shay Yaakov (Inactive)
              Reporter:
              michaelhuettermann Michael Huettermann
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: