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_vcluster
Commits
beababc3
Commit
beababc3
authored
Oct 26, 2016
by
incardon
Browse files
Adding success messages
parent
0a806d05
Changes
4
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
beababc3
...
...
@@ -18,6 +18,7 @@ parallel (
sh
"cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 3"
sh
"cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 4"
sh
"cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 5"
sh
"./success.sh 2 nyu openfpm_vcluster"
}
}
},
...
...
@@ -43,6 +44,7 @@ parallel (
sh
"cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 5"
sh
"cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 6"
sh
"cd openfpm_vcluster && ./run.sh $WORKSPACE $NODE_NAME 7"
sh
"./success.sh 2 sbalzarini-mac-15 openfpm_vcluster"
}
}
}
...
...
build.sh
View file @
beababc3
...
...
@@ -54,7 +54,7 @@ elif [ "$2" == "taurus" ]; then
module unload bullxmpi
sh ./autogen.sh
sh ./configure
--with-boost
=
/sw/taurus/libraries/boost/1.55.0-gnu4.8
CXX
=
mpic++
sh ./configure
CXX
=
mpic++
make
if
[
$?
-ne
0
]
;
then
exit
1
;
fi
...
...
run.sh
View file @
beababc3
...
...
@@ -51,4 +51,4 @@ else
if
[
$?
-ne
0
]
;
then
exit
1
;
fi
fi
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Info:
\"
,
\"
color
\"
:
\"
#00FF00
\"
,
\"
text
\"
:
\"
$2
completed succeffuly the openfpm_vcluster test
\"
}] }"
https://hooks.slack.com/services/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
success.sh
0 → 100755
View file @
beababc3
#! /bin/bash
if
[
$1
-eq
1
]
;
then
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Info:
\"
,
\"
color
\"
:
\"
#00FF00
\"
,
\"
text
\"
:
\"
$2
completed succeffuly the
$3
tests with
$4
\"
}] }"
https://hooks.slack.com/services/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
else
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Info:
\"
,
\"
color
\"
:
\"
#00FF00
\"
,
\"
text
\"
:
\"
$2
completed succeffuly the
$3
tests
\"
}] }"
https://hooks.slack.com/services/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
fi
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