jobs/tools: Add setup-gitlab-webhooks job
This job is responsible to setup the webhooks on swh GitLab repositories enabling to trigger Jenkins builds when pushing changes or creating merge requests. It parses Jenkins jobs builder YAML configuration to get the name of the repos with CI setup and set webhook URLs in GitLab projects through HTTP requests to the GitLab REST API. It is triggered at the end of the swh-jenkins-jobs-builder job after jobs have been reconfigured.
parent
6737a1e5
No related branches found
No related tags found
Showing
- jobs/tools/jenkins-jobs-builder.groovy.j2 3 additions, 0 deletionsjobs/tools/jenkins-jobs-builder.groovy.j2
- jobs/tools/setup-gitlab-webhooks.groovy.j2 84 additions, 0 deletionsjobs/tools/setup-gitlab-webhooks.groovy.j2
- jobs/tools/setup-gitlab-webhooks.yaml 25 additions, 0 deletionsjobs/tools/setup-gitlab-webhooks.yaml
jobs/tools/setup-gitlab-webhooks.groovy.j2
0 → 100644
jobs/tools/setup-gitlab-webhooks.yaml
0 → 100644
Please register or sign in to comment