Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Checkstyle pipe provides a report with summary information only Edited

I was testing checkstyle pipe, but report always show summary information only.

And it says: "There were no annotations provided in this report."


- step:
name: PHPCS
- php phpcs.phar test.php --report=checkstyle > checkstyle.xml
- pipe: atlassian/checkstyle-report:0.2.0
CHECKSTYLE_RESULT_PATTERN: '.*/checkstyle.xml$'

And no annotations in the Pull Request view.

Report looks like:

<?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="3.5.8">
<file name="test.php">
<error line="2" column="1" severity="error" message="Missing file doc comment" source="PEAR.Commenting.FileComment.Missing"/>


What am I missing?



Status: Downloaded newer image for bitbucketpipelines/checkstyle-report:0.2.0
Submitted report. Response:200 OK
Exception thrown:java.lang.IllegalArgumentException: 'other' is different type of Path
java.lang.IllegalArgumentException: 'other' is different type of Path
at sun.nio.fs.UnixPath.relativize(
at sun.nio.fs.UnixPath.relativize(
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(

1 answer

1 accepted

1 vote
Answer accepted
mkleint Atlassian Team Nov 12, 2020

Thank you for the detailed report Leonid.


You've found a bug in the checkstyle report. I've incorrectly assumed that file paths generated by all tools are absolute but that doesn't appear to be the case for phpcs. I've released a new version of the pipe that should fix the problem. Can you try again with version 0.2.1?


Thanks and apologies.

It works now. Thank you for a quick fix. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,323 views 0 3
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