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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • gradle-plugin
    • None
    • 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)"?

            gsimpson George Simpson
            iw Irene W
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: