Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Code CheckStyle, Snyk Security are without any data returned

YY Brother
Community Champion
November 6, 2021

In fact, my codes don't follow the coding standards, but the piepline cannot read the data out as shown below:

 

security/snyk (yong.yang)

Snyk reported 42 minutes ago

This pull request introduces 0 issues

Total
0
High severity
0
Medium severity
0
Low severity
0

There were no annotations provided in this report.

 

my-codestyle-report

checkstyle-report pipe reported 45 minutes ago

Checkstyle report

Violations
0
Low Severity
0
Medium Severity
0
High Severity
0

There were no annotations provided in this report.

1 answer

0 votes
YY Brother
Community Champion
November 6, 2021
- step: &build-test-checkstyle
name: Check Code Style
caches:
- maven
script:
- mvn clean install -Dmaven.test.skip=true
artifacts:
- target/**
after-script:
# Collect checkstyle results, if any, and convert to Bitbucket Code Insights.
- pipe: atlassian/checkstyle-report:0.3.0
variables:
CHECKSTYLE_RESULT_PATTERN: '.*/checkstyle.xml$'
REPORT_FAIL_SEVERITY: 'info'
CHECKSTYLE_REPORT_TITLE: 'my-codestyle-report'

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events