Skip to content
Snippets Groups Projects

Add pipeline name to job webhook event payload

Merged Reuben Pereira requested to merge rp/add-name-to-job-event into master
All threads resolved!

What does this MR do and why?

Describe in detail what your merge request does and why.

Pipelines can now have custom names set in the .gitlab-ci.yml file (https://docs.gitlab.com/ee/ci/yaml/index.html#workflowname). This feature is currently behind the pipeline_name feature flag which is default enabled on gitlab.com and self-managed installations.

Add the pipeline name to the job webhook event payload since it makes it easier to identify which pipeline the job is part of. For example, if an action needs to be taken only for jobs of a particular pipeline, the pipeline name in the payload will allow the receiver to distinguish which pipeline the job belongs to, and accordingly perform the required action.

gitlab-com/gl-infra/delivery#2754 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Reuben Pereira

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Reuben Pereira
  • Reuben Pereira changed the description

    changed the description

  • Reuben Pereira requested review from @bmarjanovic

    requested review from @bmarjanovic

  • Reuben Pereira added 1 commit

    added 1 commit

    Compare with previous version

  • Reuben Pereira added 1 commit

    added 1 commit

    • fb84fd0c - Add pipeline name to job webhook event payload

    Compare with previous version

  • Reuben Pereira added 1 commit

    added 1 commit

    • 6cd7393e - Add pipeline name to job webhook event payload

    Compare with previous version

  • A deleted user added documentation label

    added documentation label

  • Reuben Pereira added 1 commit

    added 1 commit

    • 96a23df9 - Add pipeline name to job webhook event payload

    Compare with previous version

  • Bojan Marjanovic approved this merge request

    approved this merge request

  • Bojan Marjanovic requested review from @rzwambag and removed review request for @bmarjanovic

    requested review from @rzwambag and removed review request for @bmarjanovic

  • :wave: @bmarjanovic, thanks for approving this merge request.

    This is the first time the merge request is approved. To ensure full test coverage, a new pipeline will be started shortly.

    For more info, please refer to the following links:

  • requested review from @ashrafkhamis

  • Roy Zwambag approved this merge request

    approved this merge request

  • Ashraf Khamis approved this merge request

    approved this merge request

  • Ashraf Khamis removed review request for @ashrafkhamis

    removed review request for @ashrafkhamis

  • Reuben Pereira added 1 commit

    added 1 commit

    • 0c0dc599 - Add pipeline name to job webhook event payload

    Compare with previous version

  • Reuben Pereira resolved all threads

    resolved all threads

  • Roy Zwambag resolved all threads

    resolved all threads

  • Roy Zwambag enabled an automatic merge when the pipeline for 42afba8a succeeds

    enabled an automatic merge when the pipeline for 42afba8a succeeds

  • merged

  • Roy Zwambag mentioned in commit 98472aad

    mentioned in commit 98472aad

  • added workflowstaging label and removed workflowcanary label

  • Please register or sign in to reply
    Loading