Commit af343f9f authored by incardon's avatar incardon

Adding fail safe on scm

parent a845b946
......@@ -5,7 +5,20 @@ parallel (
"nyu_VALGRIND" : {node ('nyu')
{
deleteDir()
checkout scm
def ntry = 5
while (ntry != 0)
{
try {
checkout scm
ntry = 0
}
catch
{
ntry = ntry - 1
}
}
stage ('build_nyu_val')
{
sh "./build.sh $WORKSPACE $NODE_NAME VALGRIND"
......
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