Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

142 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you