I may not have all answer here, but here a start.

stage serve no purpose except giving visual queue and split console data 
into the view as far as I know. It also split the time used to complete.

For the node, they are sequential unless you use the parallel instruction. 
So you probably need to build on a possible node first then parallel the 
unit test execution:

node('buildrequirement')
{
   // build instruction here
}
parallel
(
 platform1: 
 {
 node('platform1requirements')
 {
 // run unit test on platform 1
 }
 },
 platform2: 
 {
 node('platform2requirements')
 {
 // run unit test on platform 2
 }
 }
)

For better parallel example:
https://github.com/jenkinsci/pipeline-examples/blob/master/pipeline-examples/jobs-in-parallel/jobs_in_parallel.groovy

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1fe75160-da21-4e17-b2ec-50b33bc875c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to