Created
May 28, 2020 10:38
-
-
Save nvuillam/e0a949145f1a74060ffd530e81c3c14d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -classpath "lib/CodeNarc-1.5.jar:%GROOVY_HOME%/groovy-3.0.3.jar:%GROOVY_HOME%/groovy-templates-3.0.3.jar:%GROOVY_HOME%/groovy-xml-3.0.3.jar:%GROOVY_HOME%/groovy-json-3.0.3.jar:lib/slf4j-api-1.7.9.jar:lib/log4j-slf4j-impl-2.13.0.jar:lib/log4j-api-2.13.0.jar:lib/log4j-core-2.13.0.jar:lib/GMetrics-0.7.jar:lib/*" org.codenarc.CodeNarc -basedir="path/to/my/files" -files="**/*.groovy,**/Jenkinsfile,**/*.gradle" -title="MyCodeNarcReport" -maxPriority1Violations=0 -report=xml:"/tmp/ReportTestCodenarc.xml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment