From edab44b8995b2e9a0a5c2b8ced5da8ce99eaa812 Mon Sep 17 00:00:00 2001
From: Michael Kirk <michael@signal.org>
Date: Mon, 7 Jan 2019 10:55:42 -0700
Subject: [PATCH] include url in status message

---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 4d31c65c0..7ea1c2495 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -33,7 +33,7 @@ pipeline {
             script {
                 // CHANGE_ID is set only for pull requests, so it is safe to access the pullRequest global variable
                 if (env.CHANGE_ID) {
-                    def comment = pullRequest.comment("👍 Build PASSED commit: ${pullRequest.head}")
+                    def comment = pullRequest.comment("👍 Build PASSED commit: ${pullRequest.head}\nbuild: ${currentBuild.absoluteUrl}")
                 }
             }
         }
@@ -42,7 +42,7 @@ pipeline {
             script {
                 // CHANGE_ID is set only for pull requests, so it is safe to access the pullRequest global variable
                 if (env.CHANGE_ID) {
-                    def comment = pullRequest.comment("💥 Build FAILED commit: ${pullRequest.head}")
+                    def comment = pullRequest.comment("💥 Build FAILED commit: ${pullRequest.head}\nbuild: ${currentBuild.absoluteUrl}")
                 }
             }
         }