Redirect both - stdout and stderr to a log file.
@@ -18,7 +18,7 @@ dependencies:
- sudo .circle/configure-services.sh
- sudo .circle/add-itest-user.sh
# We install and test with all the supported MongoDB versions
- - case $CIRCLE_NODE_INDEX in [1,2]) sudo service mongodb stop ; MONGODB=3.2.12 sudo -E .circle/install-and-run-mongodb.sh > /tmp/mongodb-install.log ;; [3,4]) sudo service mongodb stop ; MONGODB=3.4.2 sudo -E .circle/install-and-run-mongodb.sh > /tmp/mongodb-install.log ;; esac:
+ - case $CIRCLE_NODE_INDEX in [1,2]) sudo service mongodb stop ; MONGODB=3.2.12 sudo -E .circle/install-and-run-mongodb.sh &> /tmp/mongodb-install.log ;; [3,4]) sudo service mongodb stop ; MONGODB=3.4.2 sudo -E .circle/install-and-run-mongodb.sh &> /tmp/mongodb-install.log ;; esac:
background: true
# Tail the logs so it's easier to see what is going on. Sadly when using "background: true"
# whole output is ignored.
