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

Gradle home incorrect in pipeline

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 2.16.2
    • Fix Version/s: 3.0.0
    • Component/s: Gradle
    • Labels:
      None

      Description

      Gradle executor resolved incorrectly in pipeline jobs when using GRADLE_HOME environment variable instead of 'rtGradle.tool': (Need to append 'bin/gradle' to it)
      /Users/yahavi/.sdkman/candidates/gradle/current clean artifactoryPublish -b gradle-examples/gradle-example/build.gradle
      ERROR: Couldn't execute gradle task. Cannot run program "/Users/yahavi/.sdkman/candidates/gradle/current" (in directory "/Users/yahavi/jenkins_home/workspace/pipeline-gradle-example"): error=13, Permission denied

        Attachments

          Activity

            People

            Assignee:
            yahavi Yahav Itzhak
            Reporter:
            yahavi Yahav Itzhak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: