From 0619e6f5b7a8473489e15aa2453fd2a6da3254fd Mon Sep 17 00:00:00 2001
From: Martin Lowe <martin.lowe@eclipse-foundation.org>
Date: Wed, 29 Jun 2022 10:34:19 -0400
Subject: [PATCH] Update message in git hook to contain fingerprint URL

---
 src/main/rb/eca.rb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/main/rb/eca.rb b/src/main/rb/eca.rb
index 3b152318..ac48d2cd 100644
--- a/src/main/rb/eca.rb
+++ b/src/main/rb/eca.rb
@@ -166,7 +166,7 @@ else
       contained_warnings_errors = true
       puts "\nErrors:"
       commit_status['errors'].each do |error|
-        puts "GL-HOOK-ERR: #{error['message']}"
+        puts "#{error['message']}"
       end
     end
 
@@ -176,6 +176,11 @@ else
     end
     puts "\n\n"
   end
+  if (contained_warnings_errors) then
+    puts "GL-HOOK-ERR: More information is available at https://api.eclipse.org/git/eca/status/#{parsed_response['fingerprint']}/ui"
+  else
+    puts "More information is available at https://api.eclipse.org/git/eca/status/#{parsed_response['fingerprint']}/ui"
+  end
   ## after parsing 
   if (!parsed_response.nil? && parsed_response['trackedProject'] == false) then
     if (contained_warnings_errors) then
-- 
GitLab