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

Artifactory Plugin is overriding the specified GRADLE_USER_HOME environment variable

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When running a gradle build using the Artifactory-plugin using pipeline, the plugin is modifying the $GRADLE_USER_HOME value and hence gradle is not able to pick up any agent specify properties from gradle.properties file.

      The actual code making this is https://github.com/JFrogDev/jenkins-artifactory-plugin/blob/master/src/main/java/org/jfrog/hudson/pipeline/steps/ArtifactoryGradleBuild.java#L169

      Is this a necessary modification for artifactory to work properly? Can the plugin work leaving the environment variables as it is?

      Note: We can't move the gradle.properties file inside the workspace because there's already another project specific gradle.properties file there and we want to use both the files.

        Attachments

          Activity

          Hide
          tamirh Tamir Hadad added a comment -

          Abishek Manoharan, Thanks for reporting this issue .
          We will fix this issue in our next release.
          You can follow the issue at HAP-873 .

          Show
          tamirh Tamir Hadad added a comment - Abishek Manoharan , Thanks for reporting this issue . We will fix this issue in our next release. You can follow the issue at HAP-873 .

            People

            Assignee:
            eyalbe Eyal Ben Moshe
            Reporter:
            abishek3876 Abishek Manoharan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: