-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Linux
I use #!/bin/bash -ex as my hash bang line for these scripts. If a command in the script fails, the Environment Script plugin just returns the error "FATAL: Unable to execute script, return code 16" (or whatever the return code was). It doesn't display the stderr output. This makes troubleshooting the problem a bit more difficult, since you basically need to manually run the commands to figure out what was wrong and correct it.