-
Bug
-
Resolution: Unresolved
-
Major
-
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)"?
[JENKINS-34033] When Gradle Version set to (Default), cannot find "gradle"
Environment |
Original:
Jenkins ver. 1.654 Gradle plugin 1.24 |
New:
Jenkins ver. 1.654 Gradle plugin 1.24 Operating System CentOS Linux release 7.2.1511 (Core) Gradle 2.12 |
URL | New: http://stackoverflow.com/a/9082477 |
Workflow | Original: JNJira [ 170051 ] | New: JNJira + In-Review [ 183746 ] |