Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_pdata
Commits
446a50be
Commit
446a50be
authored
Aug 04, 2017
by
incardon
Browse files
Failure recover for jenkins checkout failure
parent
b60c5b6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile_numerics
View file @
446a50be
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment