Commit 0c7bcc26 authored by incardon's avatar incardon

Fixing pipeline in case of failure

parent 003b9e74
......@@ -6,7 +6,22 @@ parallel (
"nyu" : {node ('nyu')
{
deleteDir()
checkout scm
int ntry = 5
while (ntry != 0)
{
try {
checkout scm
ntry = 0
}
catch (IOException e)
{
ntry--
sleep(50)
}
}
stage ('build_nyu')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata 0 $BRANCH_NAME }"
......@@ -31,7 +46,22 @@ parallel (
{
deleteDir()
env.PATH = "/usr/local/bin:${env.PATH}"
checkout scm
int ntry = 5
while (ntry != 0)
{
try {
checkout scm
ntry = 0
}
catch (IOException e)
{
ntry--
sleep(50)
}
}
stage ('build_sb15')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata 0 $BRANCH_NAME"
......@@ -58,7 +88,22 @@ parallel (
{
deleteDir()
env.PATH = "/usr/local/bin:${env.PATH}"
checkout scm
int ntry = 5
while (ntry != 0)
{
try {
checkout scm
ntry = 0
}
catch (IOException e)
{
ntry--
sleep(50)
}
}
stage ('build_gin')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata 0 $BRANCH_NAME"
......
openfpm_devices @ 818a07d2
Subproject commit 40135332a81caa3960da0716b520b35bdf3290a8
Subproject commit 818a07d2fc16e69e4b3c47955a8e22373f5bd0f4
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