Commit 58d8ce9a authored by incardon's avatar incardon

Adding small examples

parent fe9ae950
...@@ -14,6 +14,7 @@ parallel ( ...@@ -14,6 +14,7 @@ parallel (
stage ('run_nyu_val') stage ('run_nyu_val')
{ {
sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME VALGRIND" sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME VALGRIND"
sh "./success.sh 1 nyu openfpm_data valgrind"
} }
} }
}, },
...@@ -31,6 +32,7 @@ parallel ( ...@@ -31,6 +32,7 @@ parallel (
stage ('run_nyu_nor') stage ('run_nyu_nor')
{ {
sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME NO" sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME NO"
sh "./success.sh 2 nyu openfpm_data"
} }
} }
}, },
...@@ -47,6 +49,7 @@ parallel ( ...@@ -47,6 +49,7 @@ parallel (
stage ('run_nyu_se') stage ('run_nyu_se')
{ {
sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME SE" sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME SE"
sh "./success.sh 1 nyu openfpm_data \"security enhancements\""
} }
} }
}, },
...@@ -64,6 +67,7 @@ parallel ( ...@@ -64,6 +67,7 @@ parallel (
stage ('run_sb15_val') stage ('run_sb15_val')
{ {
sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME VALGRIND" sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME VALGRIND"
sh "./success.sh 1 sbalzarini-mac-15 openfpm_data valgrind"
} }
} }
}, },
...@@ -82,6 +86,7 @@ parallel ( ...@@ -82,6 +86,7 @@ parallel (
stage ('run_sb15_nor') stage ('run_sb15_nor')
{ {
sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME NO" sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME NO"
sh "./success.sh 2 sbalzarini-mac-15 openfpm_data"
} }
} }
}, },
...@@ -99,6 +104,7 @@ parallel ( ...@@ -99,6 +104,7 @@ parallel (
stage ('run_sb15_se') stage ('run_sb15_se')
{ {
sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME SE" sh "cd openfpm_data && ./run.sh $WORKSPACE $NODE_NAME SE"
sh "./success.sh 1 sbalzarini-mac-15 openfpm_data \"security enhancements\""
} }
} }
} }
......
#! /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
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