The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

I have a repository for a python project , but could not get the checkstyle report

Robert James
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 26, 2022

I have a python repository.

I am going to apply synk for it using yml

This is my yml

image: python:3.7

pipelines:
default:
- step:
name: Testing
caches: # Marks what will be in cache so it is not downloaded again.
- pip
script:
- pipe: snyk/snyk-scan:0.5.2
variables:
SNYK_TOKEN: $SNYK_TOKEN
LANGUAGE: "python"
CODE_INSIGHTS_RESULTS: "true"
SEVERITY_THRESHOLD: "high"
DONT_BREAK_BUILD: "true"
MONITOR: "false"
after-script:
- pipe: atlassian/checkstyle-report:0.3.1
variables:
REPORT_FAIL_SEVERITY: 'error'
CHECKSTYLE_REPORT_TITLE: 'my-report'

 

But this gave empty report

Can you help me?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 29, 2022

@Robert James  hi. Thanks for your question.

For checkstyle report for python project please check this guide.

Regards, Igor

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events