The parser is not listed in the UI, because the parser is not registered in the warnings plugin yet. But you can invoke the parser already using:
recordIssues tool: analysisParser(pattern: 'your-report-file.xml', analysisModelId: 'your-id') Does that work? > Am 03.06.2022 um 20:35 schrieb Simon Matthews <[email protected]>: > > > > On Friday, June 3, 2022 at 1:15:35 AM UTC-7 [email protected] wrote: > >> Looking at the first and second second go.sh, neither appear to actually >> copy any files from the file "analysis-model-api.jar" (or any >> "analysis-model-*SNAPSHOT.jar" file) to the JENKINS_HOME directory. >> > > The first go.sh calls mvn install that installs the jar in your local maven > repository. > > It looks like the Jenkins running under Docker is not picking up my modified > version of analysis-model. I don't see the parser that I added. > > I assume that I have missed a step somewhere. > > I have added files for the <MyParser>SoftwareDescriptor.java, I have added > the reference in the ParserRegistry.java, I have added the reference in > ParsersTest.java and an appropriate log file. > > In analysis-model, I have run "./bin/go.sh" and in warnings-ng-plug, I have > run "./bin/go.sh", then in the warnings-ng-plugin-devenv directory, I have > re-started "./jenkins.sh". > > If I configure a job, I can add "Record compiler warnings and static analysis > results" as a post-build step, but my new parser is not in the list. What > could I have missed? > > Simon > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/990c3ff9-a200-4f1b-abdd-dfdb98ffeab8n%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/990c3ff9-a200-4f1b-abdd-dfdb98ffeab8n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/D7C8F359-6F0D-468D-8114-504488E83730%40gmail.com.
