Hello everyone,
I have a jenkins workflow configuration that is running several test jobs
in parallel. What I would like to do, is aggregate all test results and
display them on the 'workflow' job page. Here is my current configuration:

node('git && linux') {
    // dome some stuff here
}

stage "Running unit tests for $REVISION"
build job: 'unit-tests', parameters: [[$class: 'StringParameterValue',
name: 'REVISION', value: REVISION], [$class: 'StringParameterValue',
name: 'REFSPEC', value: REFSPEC]]

stage "Running integration tests $REVISION"
def jobs = [:]
jobs['integration-tests-1']={build job: 'integration-tests-job-1',
parameters: [[$class: 'StringParameterValue', name: 'REVISION', value:
REVISION], [$class: 'StringParameterValue', name: 'REFSPEC', value:
REFSPEC]]}
jobs['integration-tests-2']={build job: 'integration-tests-job-2',
parameters: [[$class: 'StringParameterValue', name: 'REVISION', value:
REVISION], [$class: 'StringParameterValue', name: 'REFSPEC', value:
REFSPEC]]}
jobs['integration-tests-3']={build job: 'integration-tests-job-3',
parameters: [[$class: 'StringParameterValue', name: 'REVISION', value:
REVISION], [$class: 'StringParameterValue', name: 'REFSPEC', value:
REFSPEC]]}

parallel jobs

// Here I would like to add something like
// aggregateDownstream('unit-tests', 'integration-tests-1',
'integration-tests-2', 'integration-tests-3'

Is it possible to achieve this in any meaningful way?

Best regards,
Denis.

-- 
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/CA%2B5gkYMQ4sed0LL3TKg3XtnExFC0t%3DsX%2BW4ztFjE1ZvEtTZKFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to