diff --git a/src/main/rb/eca.rb b/src/main/rb/eca.rb index 3b152318b1daf1c5232f4197c2fb0c62c24bcb54..ac48d2cdbe00b23af222aa9b6eb232331c25b883 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