Commit a25a5d7c authored by incardon's avatar incardon

Adding Jenkins MPI

parent 798f058a
#!groovy
parallel (
"ubuntu" : {node ('cifarm-ubuntu-node')
{
deleteDir()
int ntry = 5
while (ntry != 0)
{
try {
checkout scm
ntry = 0
}
catch (IOException e)
{
ntry--
sleep(10)
}
}
stage ('ubuntu build')
{
sh "./build.sh $WORKSPACE $NODE_NAME NO $BRANCH_NAME"
}
stage ('run_nyu_nor')
{
sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME NO"
sh "cd openfpm_data && ./success.sh 2 ubuntu openfpm_data"
}
}
},
"centos" : {node ('cifarm-macos-node')
{
deleteDir()
env.PATH = "/usr/local/bin:${env.PATH}"
int ntry = 5
while (ntry != 0)
{
try {
checkout scm
ntry = 0
}
catch (IOException e)
{
ntry--
sleep(10)
}
}
stage ('macos build')
{
sh "./build.sh $WORKSPACE $NODE_NAME NO $BRANCH_NAME"
}
stage ('macos run')
{
sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME NO"
sh "cd openfpm_data && ./success.sh 2 centos openfpm_data"
}
}
},
)
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