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

Workspace Environment Variable is overwritten in Gradle release

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.1.5
    • Fix Version/s: 2.2.7
    • Component/s: Gradle
    • Labels:
      None

      Description

      After doing a release build with a gradle project in jenkins the "WORKSPACE" environment variable is set to this project's workspace folder in global jenkins environment. This prevents all other builds from running correctly and can only be solved by restarting the jenkins server.

      The problem seems to be caused by this line in the source code:
      https://github.com/jenkinsci/artifactory-plugin/blob/master/src/main/java/org/jfrog/hudson/release/gradle/GradleReleaseAction.java#L109

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aviads Aviad Shikloshi (Inactive)
                Reporter:
                mamohr Mario Mohr
              • Votes:
                5 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: