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
e8421e6c
Commit
e8421e6c
authored
Dec 17, 2018
by
incardon
Browse files
Adding IO to jenkins
parent
4b2e3c09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile_mpi
0 → 100644
View file @
e8421e6c
#
!
groovy
parallel
(
"cifarm-ubuntu-node"
:
{
node
(
'cifarm-ubuntu-node'
)
{
deleteDir
()
int
ntry
=
5
while
(
ntry
!=
0
)
{
try
{
checkout
scm
ntry
=
0
}
catch
(
IOException
e
)
{
ntry
--
sleep
(
50
)
}
}
stage
(
'build ubuntu'
)
{
sh
"./build.sh $WORKSPACE $NODE_NAME $BRANCH_NAME"
}
stage
(
'run ubuntu'
)
{
sh
"cd openfpm_io && ./run.sh $WORKSPACE $NODE_NAME $BRANCH_NAME"
sh
"cd openfpm_io && ./success.sh 2 ubuntu openfpm_io"
}
}
},
"cifarm-mac-node"
:
{
node
(
'cifarm-mac-node'
)
{
deleteDir
()
env
.
PATH
=
"/usr/local/bin:${env.PATH}"
int
ntry
=
5
while
(
ntry
!=
0
)
{
try
{
checkout
scm
ntry
=
0
}
catch
(
IOException
e
)
{
ntry
--
sleep
(
50
)
}
}
stage
(
'build mac'
)
{
sh
"echo $PATH && ./build.sh $WORKSPACE $NODE_NAME $BRANCH_NAME"
}
stage
(
'run mac'
)
{
sh
"cd openfpm_io && ./run.sh $WORKSPACE $NODE_NAME $BRANCH_NAME"
sh
"cd openfpm_io && ./success.sh 2 mac openfpm_io"
}
}
},
"cifarm-centos-node"
:
{
node
(
'cifarm-centos-node'
)
{
deleteDir
()
int
ntry
=
5
while
(
ntry
!=
0
)
{
try
{
checkout
scm
ntry
=
0
}
catch
(
IOException
e
)
{
ntry
--
sleep
(
50
)
}
}
stage
(
'build_gin'
)
{
sh
"echo $PATH && ./build.sh $WORKSPACE $NODE_NAME $BRANCH_NAME"
}
stage
(
'run_gin'
)
{
sh
"cd openfpm_io && ./run.sh $WORKSPACE $NODE_NAME $BRANCH_NAME"
sh
"cd openfpm_io && ./success.sh 2 centos openfpm_io"
}
}
}
)
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