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

Gradle build parameter are not supplied correctly - Parameterized-trigger plugin

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: gradle-plugin
    • Labels:
    • Environment:
      Windows Server 2008 R2
      parameterized-trigger v2.17
      Jenkins v1.486
    • Similar Issues:

      Description

      When using the "trigger other jobs" feature, build parameters are not send correctly to Gradle jobs.

      The plugin format arguments by adding a -Dxxx which is an Ant syntax. In Gradle, build arguments follow -Pxxx syntax.

      Example :

      Predefined parameters : release=$

      {release}

      Job call (console output) : xxxx\gradle -Drelease=true
      Should be : xxxx\gradle -Prelease=true

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              jcharest Jérémie Charest
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: