Skip to content

Draft: Provide CI_JOB_CONFIG_JSON variable with raw json of job object.

This pull request is currently only the basis for a brainstorming/suggestion to the issue #17735 "Show job configuration"

What does this MR do and why?

Provide the job configuration as predefine CI variable.

How to set up and validate locally

  1. create .gitlab-ci.yml
  2. echo $CI_JOB_CONFIG_JSON
  3. check if configuration is shown in job
ci_job_config_json_test_job:
  script:
    - echo $CI_JOB_CONFIG_JSON

MR acceptance checklist

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

Merge request reports