Hi All,
I'm using some groovy post build script to kick off a job:
manager.listener.logger.println("Test job needs triggering")
ds_job = manager.hudson.getItem('MyTestJob')
def params = [ new StringParameterValue('Param1', param)]
ds_job.scheduleBuild2(0, new Cause.UpstreamCause(manager.build), new
ParametersAction(params))
This work fine and starts the downstream job, however if I look at the
Downstream Build View, it says 'No Downstream build defined for this
project'.
Therefore my question is how do i set the downstream build view from the
groovy postbuild script, or do i need to set the upstream build from the
job that has just been scheduled.
Thanks
Satpal
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" 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.