Commit b4f3c451 authored by incardon's avatar incardon

Adding parallel pipeline for jenkins

parent e0b16b76
#!groovy
node ('gin')
{
stage 'build'
checkout scm
sh "./build_device.sh $WORKSPACE $NODE_NAME"
stage 'run'
sh "./src/mem"
}
parallel (
"gin" : {node ('gin')
{
stage ('gin_build')
{
checkout scm
sh "./build.sh $WORKSPACE $NODE_NAME"
}
stage ('gin_run')
{
sh "./src/mem"
}
}},
"nyu" : {node ('nyu')
{
stage ('nyu_build')
{
checkout scm
sh "./build.sh $WORKSPACE $NODE_NAME"
}
stage ('nyu_run')
{
sh "./src/mem"
}
}},
"sb15" : {node ('sbalzarini-mac-15')
{
env.PATH = "/usr/local/bin:${env.PATH}"
stage ('sb15_build')
{
checkout scm
sh "./build.sh $WORKSPACE $NODE_NAME"
}
stage ('sb15_run')
{
sh "./src/mem"
}
}}
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment