Remove path prefix with $ERROR_LOG
[releng/builder.git] / jjb / autorelease / include-raw-autorelease-notify-build-failure.sh
index d1b9da28c8a2bb07cd4b227d4682a5b1f0c45f79..ca31d529c5d3f0bd25894c74f52c4794d0dd29bd 100644 (file)
@@ -93,7 +93,7 @@ failure that we were able to automatically parse as well as console logs."
 # shellcheck disable=SC2034
 ATTACHMENT_EXCLUDE="Unable to attach error message snippet related to the failure
 since this exceeds the mail server attachment size limit. Please
-refer $ERROR_LOG in archives directory."
+refer ${ERROR_LOG##*/} in archives directory."
 ATTACHMENT=ATTACHMENT_INCLUDE  # default behaviour
 BODY="Attention ${PROJECT:-"OpenDaylight"}-devs,