Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export report as xml checkstyle or xml junit file #144

Closed
1 task done
romaindortier opened this issue Mar 3, 2020 · 1 comment
Closed
1 task done

Export report as xml checkstyle or xml junit file #144

romaindortier opened this issue Mar 3, 2020 · 1 comment

Comments

@romaindortier
Copy link

romaindortier commented Mar 3, 2020

How is drupal-check installed?

  • drupal-check is installed using the phar

Environment:

  • OS: Linux
  • PHP Version: 7.2
  • Drupal core: 8.7.11

Describe the bug
Possible in the near future to export report as xml checkstyle or xml junit file ? Most code review tools, as phpcs, phpmd or PHPstan can do it. Or is there any way to handle warning analysis in an automation tool in order to decide if the build is successed or failed ?

We are trying to use drupal-check after every new merge request, in different Drupal projects, to check if it contains depreciations issues. We'd like to update to Drupal 9 as soon as it will be possible.

We use Jenkins and its Junit plugin or Warnings Next Generation Plugin.

By the way, congratulations for that wonderful tool !

@romaindortier romaindortier changed the title Export report as xml checkstyle ou xml junit file Export report as xml checkstyle or xml junit file Mar 4, 2020
@mglaman
Copy link
Owner

mglaman commented May 11, 2020

If you pass --format=junit or --format=checkstyle it'll work. However, with #137 this may have broken in the 1.1.x versions..

@mglaman mglaman closed this as completed Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants