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_io
Commits
169a3037
Commit
169a3037
authored
Oct 29, 2016
by
incardon
Browse files
Adding fail safe scm
parent
616324b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
169a3037
...
...
@@ -5,7 +5,21 @@ parallel (
"nyu"
:
{
node
(
'nyu'
)
{
deleteDir
()
checkout
scm
int
ntry
=
5
while
(
ntry
!=
0
)
{
try
{
checkout
scm
ntry
=
0
}
catch
(
IOException
e
)
{
ntry
--
sleep
(
5000
)
}
}
stage
(
'build_nyu'
)
{
sh
"./build.sh $WORKSPACE $NODE_NAME"
...
...
@@ -24,7 +38,21 @@ 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
(
5000
)
}
}
stage
(
'build_sb15'
)
{
sh
"echo $PATH && ./build.sh $WORKSPACE $NODE_NAME"
...
...
@@ -41,7 +69,21 @@ parallel (
"gin"
:
{
node
(
'gin'
)
{
deleteDir
()
checkout
scm
int
ntry
=
5
while
(
ntry
!=
0
)
{
try
{
checkout
scm
ntry
=
0
}
catch
(
IOException
e
)
{
ntry
--
sleep
(
5000
)
}
}
stage
(
'build_gin'
)
{
sh
"echo $PATH && ./build.sh $WORKSPACE $NODE_NAME"
...
...
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