Handle empty release description in CI variables builders
What does this MR do and why?
Handles empty release description while building the CI_RELEASE_DESCRIPTION
variable.
Regression introduced from !98447 (merged)
Screenshots or screen recordings
How to set up and validate locally
- Create a release without description in local. Example
curl --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: <your_access_token>" \
--data '{ "name": "New release", "tag_name": "v0.3" }' \
--request POST "https://gitlab.example.com/api/v4/projects/24/releases"
- Run pipeline for the tag
v0.3
with the below CI config
image: alpine:latest
stages:
- test
prod:
stage: test
script:
- echo "Release description is $CI_RELEASE_DESCRIPTION"
- Job should be successful.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #377872 (closed)
Edited by Bala Kumar