-
Bug
-
Resolution: Unresolved
-
Critical
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.