Skip to content

simonstratmann/intellij_gitlab_pipeline_monitor

Repository files navigation

Gitlab Pipeline Viewer

Gitlab Pipeline Viewer allows you you track gitlab build pipelines for your projects directly from inside IntelliJ and other Jetbrains products.

Overview

This plugin allows you to monitor and display pipelines run on gitlab. Both gitlab.com and self-hosted instances are supported.

Example screenshot:

Screenshot main window

By default all pipelines for tags and locally checked out branches are monitored. For each branch the last finished pipeline and a currently running pipeline (if one exists) will be shown. If an open merge request exists a link to it will be shown, otherwise a link to open a new one.

When the plugin detects a git remote that is unknown it try to determine if it's hosted on gitlab and find the correct host and project path. It will display a balloon notification:
notification

When you have time click the first action in it and a dialog will appear, asking you if you want to monitor pipelines for this remote (assuming it's associated with a gitlab project):
Screenshot untracked remote

If you want to save tokens for longer than the lifetime of an IDE instance please make sure that they're actually saved: File | Settings | Appearance & Behavior | System Settings | Passwords

The access scope for tokens needs to be either "api" or "read_api".

Troubleshooting

Unfortunately gitlab returns an empty response if access to a private project was not possible due to an auth error. Therefore the plugin can't tell if the gitlab host is wrong, the project path is wrong or an invalid access token was used. Make sure the values entered are correct. You can check and edit them at any time in the settings.

You can enable debug logging by opening Help -> Diagnostic Tools -> Debug Log Settings and adding the value #de.sist.

The log can then be found using Help -> Show Log in Explorer.

If you encounter an error with the plugin please enable debug logging, reproduce the problem, create an issue and attach the log.