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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • gradle-plugin
    • Windows Server 2008 R2
      parameterized-trigger v2.17
      Jenkins v1.486

      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

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

              Created:
              Updated:
              Resolved: