#!groovy
import hudson.model.*
stage('Testing') {
parallel (
['windows_remote': {build job: 'remote_trigger_30', parameters:
[string(name: 'branch_name', value: branch_name)]},
'linux_remote': {build job: 'remote_trigger_60', parameters:
[string(name: 'branch_name', value: branch_name)]}
]
)
}
If I set "Block until the remote triggered projects finish their builds."
True
'remote_trigger_30' - blocks until complete
'remote_trigger_60' - blocks until complete
This is not parallel.
If I set "Block until the remote triggered projects finish their builds."
False
'remote_trigger_30' - starts remote build then returns complete
'remote_trigger_60' - starts remote build then returns complete
Both remote builds are still running but Pipeline returns complete
Is there a way to not block but wait?
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/d029d9be-d81e-4b4c-9210-396a4add6d46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.