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

Gradle plugin fails to save selected Gradle Version in Project configuration

    Details

    • Similar Issues:

      Description

      Hello,

      I have to following problem with the Gradle plugin for Jenkins:

      While editing the project configuration I am able to select one of the installed Gradle versions to use for "Invoke Gradle". After saving the project configuration, the value of "Gradle Version" falls back to "(Default)".

      Since I don't have (and don't intend to have) Gradle on the path, every build fails with the following message:

      [Gradle] - Launching build.
      [i4r-hire-build] $ cmd.exe /C gradle.bat build && exit %%ERRORLEVEL%%
      'gradle.bat' is not recognized as an internal or external command,
      operable program or batch file.
      Build step 'Invoke Gradle script' changed build result to FAILURE
      Build step 'Invoke Gradle script' marked build as failure
      Recording test results
      Finished: FAILURE
      

      I am using Gradle plugin version 1.19 and Jenkins version 1.481

        Attachments

          Activity

          johannesrost Johannes Rost created issue -
          johannesrost Johannes Rost made changes -
          Field Original Value New Value
          Summary Gradle plugin falis to save selected Gradle Version in Project configuration Gradle plugin fails to save selected Gradle Version in Project configuration
          scm_issue_link SCM/JIRA link daemon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          johannesrost Johannes Rost made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 145887 ] JNJira + In-Review [ 206147 ]

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              johannesrost Johannes Rost
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: