on_success and on_failure
Closes #22 (closed)
Add on_success and on_failure for the standalone image build. On success it removes all labels and closes corresponding Gitlab issue. On failure changes the label of corresponding Gitlab issue to Pipeline failed
and comments The pipeline of this request just failed
on issue.
The variables that needs to be added to Settings -> CI/CD -> Variables are
-
BACKEND_IID
87550 -
BACKEND_URL
https://cmssw-docker.app.cern.ch -
API_TOKEN
same asAPITOKEN
in the backend -
GITLAB_TOKEN
same asGITLABTOKEN
in the backend