Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,950
Community Members
 
Community Events
168
Community Groups

Code CheckStyle, Snyk Security are without any data returned

Edited
YY哥 Community Leader Nov 06, 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
- 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

Atlassian Community Events