Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add notification handler.

WiredTombstone43931643e56c
diff --git a/lib/open_project/gitlab_integration/notification_handlers.rb b/lib/open_project/gitlab_integration/notification_handlers.rb
index 4acd6c6c072..07993868c2e 100644
--- a/lib/open_project/gitlab_integration/notification_handlers.rb
+++ b/lib/open_project/gitlab_integration/notification_handlers.rb
@@ -69,6 +69,12 @@ module OpenProject::GitlabIntegration
end
end
+ def pipeline_hook(payload)
+ with_logging('system_hook') do
+ OpenProject::GitlabIntegration::NotificationHandler::SystemHook.new.process(payload)
+ end
+ end
+
private
def with_logging(event_hook)