marcells / node-build-monitor

A Build Monitor written in Node.js, which supports several build services and can be easily extended.
https://marcells.github.io/node-build-monitor
MIT License
349 stars 168 forks source link

Job status #218

Open JohnMcClane97 opened 4 years ago

JohnMcClane97 commented 4 years ago

Is it possible to get exactly which job that is currently running in a pipeline? if it is possible how can that be achieved?

marcells commented 4 years ago

For which service? If the api of the service exposes that information, then it should be possible.

JohnMcClane97 commented 4 years ago

for gitlab

marcells commented 4 years ago

You can take a look at the implementation of the GitLab service (https://github.com/marcells/node-build-monitor/blob/master/app/services/GitLab.js).

I think you should take a look at the GitLab API Docs (https://docs.gitlab.com/ee/api/).

If you are not breaking things, feel free to make a PR. ;-)