Sha256: f25b6155da6a78382baddd613ee0312fc8c80e26709a7932e072222d82958c67
Contents?: true
Size: 826 Bytes
Versions: 9
Compression:
Stored size: 826 Bytes
Contents
#!/bin/bash typeset -i time=$1 export LOGFILE=tengine_job_test.log echo "`date` tengine_job_test $MM_ACTUAL_JOB_NAME_PATH start" >> $LOGFILE case "$MM_ACTUAL_JOB_NAME_PATH" in "/jn0004/j1" ) sleep ${J1_SLEEP:=0} if [ "$J1_FAIL" = "true" ] ; then exit 1 fi ;; "/jn0004/j2" ) sleep ${J2_SLEEP:=0} if [ "$J2_FAIL" = "true" ] ; then exit 1 fi ;; "/jn0004/j3" ) sleep ${J3_SLEEP:=0} if [ "$J3_FAIL" = "true" ] ; then exit 1 fi ;; "/jn0004/j4" ) sleep ${J4_SLEEP:=0} if [ "$J4_FAIL" = "true" ] ; then exit 1 fi ;; "/jn0004/finally/jn0004_f" ) sleep ${JN0004_F_SLEEP:=0} if [ "$JN0004_F_FAIL" = "true" ] ; then exit 1 fi ;; esac echo "`date` tengine_job_test $MM_ACTUAL_JOB_NAME_PATH finish" >> $LOGFILE
Version data entries
9 entries across 9 versions & 1 rubygems