diff --git a/build.sh b/build.sh index e7dd7fbe4f67303f4a1264586d1da16d1e5c65ea..2ed2f24da4535d2729a9e43075c2587d42de46cf 100755 --- a/build.sh +++ b/build.sh @@ -100,7 +100,7 @@ fi echo "Installing with: ./install $gpu_support -i $dependency_dir $install_options -c \"$installation_dir $foward_options \" " ./install $gpu_support -i $dependency_dir $install_options -c "$installation_dir $foward_options " 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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 + echo "Fail to ./install" exit 1 ; fi @@ -108,13 +108,14 @@ fi if [ x"$comp_type" == x"full" ]; then make install else + echo "Make install partial" mv $HOME/openfpm_vars $HOME/openfpm_vars_$branch source $HOME/openfpm_vars_$branch make VERBOSE=1 -j 8 fi 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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 + echo "Fail make install" exit 1 ; fi