diff --git a/build.sh b/build.sh index 3d09c59171aa757b63837e6712e43eccd22a29ee..e890d089325c60a0f34e6f8bea981caeccd26ce4 100755 --- a/build.sh +++ b/build.sh @@ -158,6 +158,9 @@ else else echo "Installing with: ./install -i $HOME/openfpm_dependencies/openfpm_pdata/$branch -m -s -c \"$installation_dir --no-recursion\"" ./install -i $HOME/openfpm_dependencies/openfpm_pdata/$branch -m -s -c "$installation_dir --no-recursion" + + cat build/CMakeFiles/CMakeError.log + if [ $? -ne 0 ]; then curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$hostname failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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 exit 1 ;