I tried to make nightly-go log more of its output by taking the main body of the script and executing it in a subshell like so:

sh -xv >> ...log file... 2&>1 <<'EOF'

... script body ...

EOF

The idea is that the log file will see the actual steps of the bash script, not just the output of the ant_call. If I comment out the step that fetches the source (just as a test), then the script runs just fine through all the steps and I get the expected failure message. But if I do an actual build, right after the dist-one build finishes, the whole script just stops (even though there are many more steps).

I'm stumped. If no one has any suggestions, I guess I will remove this bright idea of trying to capture all the output and give up.

Reply via email to