stage 'UI-Test'
parallel(suite1: {
node('DockerBuild') {
ws {
catchError {
build  job: 'UITestSuiteRunner', parameters: [new 
hudson.model.StringParameterValue('mavenProfile', 'ui-test1'), new 
hudson.model.StringParameterValue('testSuite', 'UiTest1Suite')]
}
step $class: 'hudson.tasks.junit.JUnitResultArchiver', testResults: 
'target/surefire-reports/*.xml'
}
}
}, suite2: {
node('DockerBuild') {
ws {
catchError {
build  job: 'UITestSuiteRunner', parameters: [new 
hudson.model.StringParameterValue('mavenProfile', 'ui-test2'), new 
hudson.model.StringParameterValue('testSuite', 'UiTest2Suite')]
}
step $class: 'hudson.tasks.junit.JUnitResultArchiver', testResults: 
'target/surefire-reports/*.xml'
}
}
}, suite3: {
node('DockerBuild') {
ws {
catchError {
build  job: 'UITestSuiteRunner', parameters: [new 
hudson.model.StringParameterValue('mavenProfile', 'ui-test3'), new 
hudson.model.StringParameterValue('testSuite', 'UiTest3Suite')]
}
step $class: 'hudson.tasks.junit.JUnitResultArchiver', testResults: 
'target/surefire-reports/*.xml'
}
}
},suite4: {
node('DockerBuild') {
ws {
catchError {
build  job: 'UITestSuiteRunner', parameters: [new 
hudson.model.StringParameterValue('mavenProfile', 'ui-test4'), new 
hudson.model.StringParameterValue('testSuite', 'UiTest4Suite')]
}
step $class: 'hudson.tasks.junit.JUnitResultArchiver', testResults: 
'target/surefire-reports/*.xml'
}
}
})

Am Mittwoch, 19. November 2014 12:34:44 UTC+1 schrieb James Nord:
>
> Could you paste a simple workflow that shows this?
>
> From the log, to me it looks like your parallels are executed outside the 
> node and workspace blocks.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to