Add log server url to emails 21/51321/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 2 Feb 2017 05:09:30 +0000 (00:09 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 2 Feb 2017 05:10:59 +0000 (00:10 -0500)
When sending emails about build failures we should be providing the log
server url rather than the jenkins build url.

Trello: https://trello.com/c/xAA51pNj
Change-Id: Ie566607e5b8f76f32bd9ebaa2c1f909a3b2c4369
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/releng-macros.yaml

index 38f4e5651cab78153f649a7454f66520178fd945..b05b10f5532e5fc46b976c943e1e458644b5e160 100644 (file)
             body: |
                 $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
 
-                Check console output at $BUILD_URL to view the results.
+                Please refer to the logs server URL for console logs when possible
+                and use the Jenkins Build URL as a last resort.
+
+                Console Logs URL:
+                https://logs.opendaylight.org/$SILO/$JENKINS_HOSTNAME/$JOB_NAME/$BUILD_NUMBER
+
+                Jenkins Build URL:
+                $BUILD_URL
             unstable: true
             fixed: true
             send-to: