Skip to content
Success

Console Output

Started by timer
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/modules_bw/workspace
[SSH] script:

# send mail to these people if there's a module change 
[email protected],[email protected],[email protected]

MYTEMPMODULES=/tmp/bwjenkins_modules_$$
module -t avail > $MYTEMPMODULES

cd modules/
MYDIFFS=`diff -ubw module_avail $MYTEMPMODULES`
if [ "$MYDIFFS" == "" ]
then
   echo "no new module changes detected"
else
   echo "${MYDIFFS}" | mail -s bw_module_diffs $EMAIL_LIST
   echo "${MYDIFFS}"
   MYDATE=`date +%m_%d_%Y`
   cp module_avail module_avail_$MYDATE
   cp $MYTEMPMODULES module_avail
fi

rm -f  $MYTEMPMODULES

[SSH] executing...
no new module changes detected

[SSH] completed
[SSH] exit-status: 0

Finished: SUCCESS