Skip to content

Fix variables payload format to create a pipeline

What does this MR do?

Fixes #258630 (closed) as variables were not sent in the correct format to the backend.

Screenshots

Enable feature flag: new_pipeline_form.

For a pipeline with a variable TEST:

image

We can run the pipeline, and see the variable is used:

2020-09-30_17.59.31

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #258630 (closed)

Edited by Miguel Rincon

Merge request reports