Commit 3a56de9c authored by incardon's avatar incardon

Adding pipeline jenkins

parent 12bb7038
...@@ -3,21 +3,23 @@ ...@@ -3,21 +3,23 @@
parallel ( parallel (
"nyu" : {node ('nyu') "nyu" : {node ('gin')
{ {
deleteDir() deleteDir()
checkout scm checkout scm
stage ('build_nyu') stage ('build_gin')
{ {
sh "./build.sh $WORKSPACE $NODE_NAME" sh "./build.sh $WORKSPACE $NODE_NAME"
} }
stage ('run_nyu') stage ('run_gin')
{ {
sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 2" parallel (
sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 3" "1" : {sh "cd openfpm_numerics && ./run.sh $WORKSPACE $NODE_NAME 1"},
sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 4" "2" : {sh "cd openfpm_numerics && ./run.sh $WORKSPACE $NODE_NAME 2"},
sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 5" "3" : {sh "cd openfpm_numerics && ./run.sh $WORKSPACE $NODE_NAME 3"},
"4" : {sh "cd openfpm_numerics && ./run.sh $WORKSPACE $NODE_NAME 4"}
)
} }
} }
}, },
...@@ -37,12 +39,12 @@ parallel ( ...@@ -37,12 +39,12 @@ parallel (
stage ('run_sb15') stage ('run_sb15')
{ {
sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 2" parallel (
sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 3" "1" : {sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 1"},
sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 4" "2" : {sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 2"},
sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 5" "3" : {sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 3"},
sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 6" "4" : {sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 4"}
sh "cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 7" )
} }
} }
} }
......
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