Commit 80664844 authored by incardon's avatar incardon

Add example pipeline

parent 6777f439
#!groovy
parallel (
"gin" : {node ('gin')
{
deleteDir()
checkout scm
stage ('build_gin')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata"
}
stage ('run_example_gin')
{
sh "cd example && make"
}
}}
"sb15" : {node ('sbalzarini-mac-15')
{
deleteDir()
checkout scm
stage ('build_sb15')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata"
}
stage ('run_example_sb15')
{
sh "cd example && make"
}
}
}
)
#!groovy
node ('taurus')
{
deleteDir()
checkout scm
stage ('build_taurus')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata"
}
stage ('run_taurus')
{
sh "./run.sh $WORKSPACE $NODE_NAME 24 1 24"
sh "./run.sh $WORKSPACE $NODE_NAME 48 2 24"
sh "./run.sh $WORKSPACE $NODE_NAME 96 4 24"
sh "./run.sh $WORKSPACE $NODE_NAME 192 8 24"
sh "./run.sh $WORKSPACE $NODE_NAME 240 10 24"
}
}
#!groovy
node ('gin')
{
deleteDir()
checkout scm
stage ('build_gin')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata"
}
stage ('run_gin')
{
sh "./run.sh $WORKSPACE $NODE_NAME 5"
sh "./run.sh $WORKSPACE $NODE_NAME 6"
sh "./run.sh $WORKSPACE $NODE_NAME 7"
sh "./run.sh $WORKSPACE $NODE_NAME 8"
sh "./run.sh $WORKSPACE $NODE_NAME 9"
sh "./run.sh $WORKSPACE $NODE_NAME 10"
sh "./run.sh $WORKSPACE $NODE_NAME 11"
}
}
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