When Gradle Version set to (Default), cannot find "gradle"

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: gradle-plugin
    • None
    • Environment:
      Jenkins ver. 1.654
      Gradle plugin 1.24

      Operating System CentOS Linux release 7.2.1511 (Core)
      Gradle 2.12

      When one Gradle installation is defined in the the global Jenkins configuration and a job definition config.xml specifies an empty <gradleName/> element, the Gradle build fails with the following error:

      java.io.IOException: Cannot run program "gradle" (in directory "/var/lib/jenkins/jobs/<job>/workspace"): error=2, No such file or directory
      

      Specifying a Gradle installation name allows the build to succeed. Is there a name that can be given to an installation to have it be recognized as the "(Default)"?

            Assignee:
            George Simpson
            Reporter:
            Irene W
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: