File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,20 @@ blocks:
32
32
dependencies : []
33
33
run :
34
34
# don't run the tests on non-functional changes...
35
- when : " change_in('/', {exclude: ['/.deployed-versions/', '.github/']})"
35
+ when : " change_in('/', {exclude: ['/.deployed-versions/', '.github/'], default_branch: 'master' })"
36
36
task :
37
37
jobs :
38
38
- name : Test
39
39
commands :
40
40
- . sem-pint
41
41
- mvn -Dcloud -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode --no-transfer-progress clean verify install dependency:analyze validate
42
- - cve-scan
42
+ - export TRIVY_DISABLE_VEX_NOTICE=true
43
+ - trivy version
44
+ - echo "Check go/connector-dev-vuln-remediation for fixing or suppressing vulnerabilities found by trivy"
45
+ - trivy --skip-files "*.zip" rootfs --scanners vuln --db-repository public.ecr.aws/aquasecurity/trivy-db --java-db-repository public.ecr.aws/aquasecurity/trivy-java-db --ignore-unfixed --ignorefile
46
+ .trivyignore --exit-code 1 --severity CRITICAL target/components/packages
47
+ - trivy --skip-files "*.zip" rootfs --scanners vuln --db-repository public.ecr.aws/aquasecurity/trivy-db --java-db-repository public.ecr.aws/aquasecurity/trivy-java-db --ignore-unfixed --ignorefile
48
+ .trivyignore --severity HIGH,LOW,MEDIUM target/components/packages
43
49
- . cache-maven store
44
50
epilogue :
45
51
always :
@@ -73,7 +79,7 @@ after_pipeline:
73
79
task :
74
80
agent :
75
81
machine :
76
- type : s1-prod-ubuntu24-04-amd64 -0
82
+ type : s1-prod-ubuntu24-04-arm64 -0
77
83
jobs :
78
84
- name : Metrics
79
85
commands :
You can’t perform that action at this time.
0 commit comments