>From the last time I looked into this, the recommendation is to use https://github.com/uhafner/warnings-ng-plugin-devenv (which is linked from one or more of the readmes)
On Wed, May 25, 2022 at 1:17 PM Simon Matthews <[email protected]> wrote: > > I am trying to add another parser. The intent is that the warnings-ng plugin > will show (and use) my new additional parser and I believe that they way to > achieve that is through adding the parser to analysis-model. > > Simon > > On Wednesday, May 25, 2022 at 12:33:46 PM UTC-7 [email protected] wrote: >> >> analysis-model is a jar, not a plugin. So it will create a jar as expected. >> It is used by other plugins I think (cannot check just now). >> >> What are you trying to achieve? >> >> Le mer. 25 mai 2022 à 21:18, Simon Matthews <[email protected]> a écrit : >>> >>> I am attempting to build a modified version of the analysis-model plugin.I >>> think that I need to create an hpi file which I can then install in my >>> jenkins installation, but if this is not correct, please tell me. >>> >>> It's not clear to me how to do this from the command line: I think it has >>> changed over time, so there are plenty of old pages that are now incorrect. >>> >>> I think that I need to use maven to build the "hpi:hpi" target, but this >>> may be wrong. In any case, attempts to do this result in an error: I have >>> tried other targets, such as "package" and "install". They appear to >>> complete the build successfully, but don't create an hpi file. >>> >>> Running: >>> ~/bin/apache-maven-3.8.5/bin/mvn hpi:hpi >>> results in: >>> [ERROR] Failed to execute goal >>> org.jenkins-ci.tools:maven-hpi-plugin:3.29-rc1263.227a_29289ce3:hpi >>> (default-cli) on project analysis-model: Failed to determine Jenkins >>> version this plugin depends on. -> [Help 1] >>> I have tried adding the following to my pom.xml file: >>> <jenkins.version>2.332.3</jenkins.version> >>> but it doesn't help. >>> >>> What am I doing wrong? >>> >>> 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]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-dev/549954d3-3d28-46dd-a3b8-2d450474c87an%40googlegroups.com. > > -- > 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/1a70187a-1ead-4607-bce9-acdcf2348819n%40googlegroups.com. -- 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/CAG%3D_DutiQnW8_X1w1F0qTR7VtWM%2BohjqU%2B_YCtp8tT7j06jXwQ%40mail.gmail.com.
