Change By: Ronald Chen (03/Apr/14 10:29 PM)
Description: My remote job has a single string parameter with a default value but when I attempt to trigger it using this plugin I get this error:

{code}
Triggering this remote job: remote-job
Not checking if the remote job remote-job is building.
This job is build #[1522] on the remote server.
Triggering remote job now.
ERROR: Remote build failed for the following reason, but the build will continue:
ERROR: Server returned HTTP response code: 400 for URL: http://remote.jenkins.server/job/remote-job/build?delay=0
Not blocking local job until remote job completes - fire and forget.
{code}

The problem is /build is used instead of /buildWithParameters

This plugin needs to use the job api to check if there are parameters and call /buildWithParameters even if the caller did not specify any parameters (the caller expects the default value to be used)


WORKAROUND:
Have the caller set a bogus parameter to make the plugin use /buildWithParameters
, eg. WORKAROUND_JENKINS_22493=true
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to