diff --git a/build.sh b/build.sh
index e7dd7fbe4f67303f4a1264586d1da16d1e5c65ea..6ed4dcd0560f4a61576c2a3b2992ab61eed932b0 100755
--- a/build.sh
+++ b/build.sh
@@ -98,7 +98,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 "
+./install $gpu_support -i $dependency_dir $install_options -c "$installation_dir $foward_options " &>install_output
 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 ;