Commit 446a50be authored by incardon's avatar incardon

Failure recover for jenkins checkout failure

parent b60c5b6b
......@@ -6,7 +6,22 @@ parallel (
"gin" : {node ('gin')
{
deleteDir()
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 numerics"
......@@ -32,7 +47,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 numerics"
......
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