Skip to content

CI environment variable for project description

Description

CI jobs have access to a huge amount of predefined environment variables about the project, but not one for the project description.

We have only:

  • CI_COMMIT_DESCRIPTION
  • CI_RUNNER_DESCRIPTION

Proposal

A new ci variable containing Project's description

  • CI_PROJECT_DESCRIPTION

Overview

I know probably using Project -> Settings -> General -> Project description could be a problem due to markdown.

Use cases

For example, SonarQube scanner in GitLab CI can send project description to SonarQube server

sonar_prj_desc

and shows in Project Information webpage with -Dsonar.projectDescription=${CI_PROJECT_DESCRIPTION}

sonar_prj_inf

Assuming the community agrees with this feature request, it would be great if someone could handle the implementation and testing 😄
Thanks a lot for all your hardwork 💪