ikedam commented on Bug JENKINS-24626

I found the root cause.
It is caused for SELECT_ME=$SELECT_DEPJOB does not work.

A build of SubJob with copyartifact 1.26 is recorded like this (see recorded with plugin="[email protected]"):

    <hudson.model.ParametersAction>
      <parameters>
        <hudson.model.StringParameterValue>
          <name>SELECT_ME</name>
          <description></description>
          <value>&lt;SpecificBuildSelector plugin=&quot;[email protected]&quot;&gt;  &lt;buildNumber&gt;1&lt;/buildNumber&gt;&lt;/SpecificBuildSelector&gt;</value>
        </hudson.model.StringParameterValue>
      </parameters>
    </hudson.model.ParametersAction>

When running MainJob is started with copyartifact 1.31, the build is launched like this (see recorded with plugin="[email protected]"):

    <hudson.model.ParametersAction>
      <parameters>
        <hudson.model.StringParameterValue>
          <name>SELECT_DEPJOB</name>
          <description></description>
          <value>&lt;SpecificBuildSelector plugin=&quot;[email protected]&quot;&gt;  &lt;buildNumber&gt;1&lt;/buildNumber&gt;&lt;/SpecificBuildSelector&gt;</value>
        </hudson.model.StringParameterValue>
      </parameters>
    </hudson.model.ParametersAction>

And they doesn't satisfy SELECT_ME=$SELECT_DEPJOB.

As that serialization is the work of Jenkins core (or Jenkins framework), and I'm not sure I can fix that.
I think we should consider an alternate way to do what @tom_ghyselinck want to do.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to