Skip to content

Commit bc37cc2

Browse files
authored
[DOP-25330] Fix SCA pipeline
1 parent 5610342 commit bc37cc2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ sbom-creation:
88
stage: sbom
99
rules:
1010
- if: $CI_PIPELINE_SOURCE == "web"
11-
when: manual
11+
when: always
1212
- if: $CI_COMMIT_REF_NAME =~ $CI_DEFAULT_BRANCH
1313
when: always
14+
- when: never
1415
image:
1516
name: ${DEFAULT_IMAGE}:develop
1617
entrypoint: ['']
@@ -36,6 +37,10 @@ security-scan:
3637
yaml_variables: true
3738
variables:
3839
APPSECHUB_PARENT_PIPELINE_ID: $CI_PIPELINE_ID
40+
APPSECHUB_SCA_SBOM_GENERATOR: custom
41+
APPSECHUB_SBOM_PATH: sbom.cyclonedx.json
42+
APPSECHUB_SBOM_MASK: "*bom*.json"
43+
CUSTOM_SBOM_GENERATOR_JOB_NAME: sbom-creation
3944
rules:
4045
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
4146
when: always

0 commit comments

Comments
 (0)