Skip to content

Commit

Permalink
[jsk_robot_startup] Use bold to easy to read mail text
Browse files Browse the repository at this point in the history
  • Loading branch information
tkmtnt7000 committed Jun 21, 2023
1 parent 3cb8d5e commit 73f85ca
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ echo "" > $TMP_MAIL_BODY_FILE
wstool foreach -t $WORKSPACE/src --git 'git fetch origin --prune'
WSTOOL_STATUS=$(wstool status -t $WORKSPACE/src)
if [ -n "$WSTOOL_STATUS" ]; then
echo -e "Please commit robot internal change and send pull request.<br>" >> $TMP_MAIL_BODY_FILE
echo -e "<b>Please commit robot internal change and send pull request.</b><br><br>" >> $TMP_MAIL_BODY_FILE
echo -e $WSTOOL_STATUS >> $TMP_MAIL_BODY_FILE
# escape " ' , -- and add change line code to end of line
wstool diff -t $WORKSPACE/src | sed -e "s/'/ /g" -e "s/^--/ /g" -e 's/"/ /g' -e "s/<br>/\\\n/" -e 's/$/<br>/g' -e "s/,/ /g" | tee -a $TMP_MAIL_BODY_FILE
Expand Down Expand Up @@ -123,13 +123,13 @@ catkin build --continue-on-failure
CATKIN_BUILD_RESULT=$?
# Send mail
if [ $WSTOOL_UPDATE_RESULT -ne 0 ]; then
echo "Please wstool update workspace manually.<br>" >> $TMP_MAIL_BODY_FILE
echo "<b>Please wstool update workspace manually.</b><br>" >> $TMP_MAIL_BODY_FILE
fi
if [ $ROSDEP_INSTALL_RESULT -ne 0 ]; then
echo "Please install dependencies manually.<br>" >> $TMP_MAIL_BODY_FILE
echo "<b>Please install dependencies manually.</b><br>" >> $TMP_MAIL_BODY_FILE
fi
if [ $CATKIN_BUILD_RESULT -ne 0 ]; then
echo "Please catkin build workspace manually.<br>" >> $TMP_MAIL_BODY_FILE
echo "<b>Please catkin build workspace manually.</b><br>" >> $TMP_MAIL_BODY_FILE
fi
set +x
} 2>&1 | tee $LOGFILE
Expand Down

0 comments on commit 73f85ca

Please sign in to comment.