BE: expose failed jobs on project security dashboard
Why are we doing this work
To be able to show the "n failures" indication on the security dashboard
If only one failure, badge should read 1 failed security job
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
-
backend Expose failed jobs -
add scope to Ci::Build
to get only secure-related jobs, -
add method/association to Ci::Pipeline
to get list offailed_secure_jobs
. -
update security_dashboard_pipeline_data
to addfailed_job_count
topipeline
hash inee/app/helpers/ee/projects_helper.rb
-
Edited by Becka Lippert