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

Parameterized Remote Trigger fails when calling a job with Matrix Combination parameter

      When calling a remote parameterized job that has as one of its parameters the Matrix Combination parameter, the Parameterized Remote Trigger plugin fails:

      FATAL: JSONObject["value"] not found.
      net.sf.json.JSONException: JSONObject["value"] not found.
      	at net.sf.json.JSONObject.getString(JSONObject.java:2040)
      	at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.compareParameters(RemoteBuildConfiguration.java:681)
      	at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.perform(RemoteBuildConfiguration.java:572)
      	at org.jenkinsci.plugins.conditionalbuildstep.BuilderChain.perform(BuilderChain.java:71)
      	at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110)
      	at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154)
      	at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105)
      	at org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder.perform(ConditionalBuilder.java:133)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      	at hudson.model.Build$BuildExecution.build(Build.java:199)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:160)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      	at hudson.model.Run.execute(Run.java:1665)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:246)
      

      This seems to be because the .../api/json for the parameters of the build it kicked off only has a name field, no value, for the Matrix Combination parameter.

          [JENKINS-28185] Parameterized Remote Trigger fails when calling a job with Matrix Combination parameter

          Maurice W. added a comment -

          This file has changed with the latest release (v2.2.0).
          Give it another try and report back if you're still seeing the issue.

          Maurice W. added a comment - This file has changed with the latest release (v2.2.0). Give it another try and report back if you're still seeing the issue.

          We have version 2.2.2 on Jenkins 1.609.3 LTS
          It triggers a Job on a Jenkins instance 1.651.1 (not LTS)

          We sill see this issue.

          Tom Ghyselinck added a comment - We have version 2.2.2 on Jenkins 1.609.3 LTS It triggers a Job on a Jenkins instance 1.651.1 ( not LTS ) We sill see this issue.

            morficus Maurice W.
            abayer Andrew Bayer
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: