JHipster module, display the GitLab build status of your JHipster application into it
This is a JHipster module, that is meant to be used in a JHipster application. This module will add a view to the last build status of your application footer, when it deploys on GitLab. After having push the code you just need to reload the page on your application to see the actual build status.
As this is a JHipster module, we expect you to have JHipster and its related tools already installed:
Moreover you need your private token from GitLab. you can find it
Profile Settings -> Account -> Private Token
and you need the ID of your project from GitLab
Setting of your Project -> Triggers
and you will find something like this
curl -X POST \
-F token=TOKEN \
-F ref=REF_NAME \
https://gitlab.com/api/v3/projects/123456/trigger/builds (project ID: 123456)
To install this module:
npm install -g generator-jhipster-gitlab-ci-build-status
To update this module:
npm update -g generator-jhipster-gitlab-ci-build-status
To run the module on a JHipster generated application:
yo jhipster-gitlab-ci-build-status
Apache-2.0 © [Xavier Ngansop]