Skip to content
Snippets Groups Projects

Update message in git hook to contain fingerprint URL

Merged Martin Lowe requested to merge (removed):malowe/master/update_hook_msg into master
1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
+ 6
1
@@ -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
Loading