Skip to content
Snippets Groups Projects
Commit b4f3c451 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Adding parallel pipeline for jenkins

parent e0b16b76
No related branches found
No related tags found
No related merge requests found
#!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"
}
}}
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment