Skip to content
Snippets Groups Projects
Commit 0619e6f5 authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Update message in git hook to contain fingerprint URL

parent e568cd51
No related branches found
No related tags found
1 merge request!85Update message in git hook to contain fingerprint URL
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment