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.