Failing to set string parameter from groovy script

XMLWordPrintable

      Earlier I was on Jenkins version 1.653 and the below script was able to set a parameter value from groovy post build script.
      _def pa = new ParametersAction([new StringParameterValue("TestStatusLog", "Test Passed with Warnings")])
      // add variable to current job
      Thread.currentThread().executable.addAction(pa)_

      Yesterday(7/18), I have upgraded Jenkins to version 2.13 and to my surprise, the above code is not working any more. Please check and try to fix this.

            Assignee:
            Kirna Kumar Reddyvari
            Reporter:
            Kirna Kumar Reddyvari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: