-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins on Linux/Windows
Jenkins Gradle Plugin - 2nd invoke call to "Invoke Gradle Script" within a Jenkins job, makes first call lose Gradle version list/box
Inside a job. Under Build section, invoke Gradle Script section twice.
call "clean build" in first call
call "clean build someothertarget" or "someothertargetonly"
save the config/job.
open it again, you'll find that first Invoke gradle call has lost "Gradle Version" list/box value. I'm using gradle defined in Jenkins global settings as Gradle_1_6 instead of list/box value for Gradle Version as (default).
This is an issue of the Gradle Plugin (the build step), not of the Gradle JPI Plugin (the plugin for Gradle to build Jenkins plugins).