Empty Parameter replaced with Parameter literal

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Blocker
    • Component/s: gradle-plugin
    • Environment:
      OS : Windows 10
      Jenkins version : 2.68
      Gradle Plugin : 1.27

      When empty Job Parameter passed though jenkins to invoke gradle script, it do not evaluate to empty but takes parameter name in gradle script.

      Ā 

      Steps to reproduce:Ā 

      1. Passing empty parameter to jenkins job

      2. Executing gradle script using Job parameterĀ 

      3. Job execution takes job parameter to be literal, while expected empty

      Ā 

      Might be a regression from : https://issues.jenkins-ci.org/browse/JENKINS-42573

        1. Console Output.PNG
          29 kB
          Mohit Jain
        2. Empty Parameter.PNG
          7 kB
          Mohit Jain
        3. Invoke Gradle Script parameter.PNG
          27 kB
          Mohit Jain

            Assignee:
            Stefan Wolf
            Reporter:
            Mohit Jain
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: