Gitlab CI using Badges for each job

前端 未结 4 1788
Happy的楠姐
Happy的楠姐 2021-01-31 05:41

Let\'s say I have configured multiple jobs for a project like following:

build_win32:
  script: ...

build_ios:
  script: ...

unit_tests:
  script: ...

server_         


        
4条回答
  •  既然无缘
    2021-01-31 06:25

    I prefer to use a temporary branch to store badges between different ci-jobs.

    You can find a detailed project example, which shows how to use badges per job using a temporary branch with GitLab here: https://gitlab.version.fz-juelich.de/vis/jusense-cicd

    And its documentation here: https://gitlab.version.fz-juelich.de/vis/jusense-cicd/wikis/Continuous-Integration-and-Delivery

    But, whatever strategy you prefer, custom badges are until now not properly supported in GitLab. Check this issue for more details: have created an issue at GitLab for that: https://gitlab.com/gitlab-org/gitlab-ce/issues/50603

提交回复
热议问题