-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The errors are only reported in the email if the script exits with a non-zero exit code. It is possible for scripts to have errors but not properly terminate with an appropriate exit code leading to a mis-leading email report that the job completed successfully.
For example with the following script, if the frosty user does not have permissions on /svn/svndata the job complete successfully even though an error is thrown in the svnadmin line.
#!/bin/sh
for D in `find /svn/svndata/* -maxdepth 0 -type d`
do
REPONAME=`basename ${D}`
svnadmin hotcopy ${D} $FROSTY_JOB_ARTIFACTS_DIR/$REPONAME --clean-logs
doneReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels