When I place the generated hpi plugin into the plugins folder
(/var/jenkins_home/plugins) it isn't renamed after restart but it works
with my Jenkins instance. Thanks for the info. :)

On Thu 21 Mar, 2019, 05:17 Slide <[email protected] wrote:

> The Gradle vs maven thing is wrong. Hpi is just a legacy extension, the
> files will be renamed to .jpi as you mentioned. There really is not a
> difference.
>
> On Wed, Mar 20, 2019, 15:09 Parichay Barpanda <[email protected]>
> wrote:
>
>> How are *.hpi and *.jpi plugins different?
>>
>> For example, when I install github-branch-source-plugin from my Jenkins
>> instance, it installs *.jpi plugin (that is what i find under
>> /var/jenkins_home/plugins). And when I clone the source code of the same
>> plugin and I run 'mvn install', I get a *.hpi plugin generated.
>>
>> A quick search a found 3 relevant points:
>>
>> One mailing list discussion says - "When you start up any Jenkins after
>> something like 1.5xx then it will automatically rename all .hpi files to
>> .jpi "
>>
>> Another says - "Jenkins core 1.449 won't allow installing hpi plugins
>> anymore"
>>
>> One stackoverflow answer says - "In terms of technology, the jpi plugins
>> are generated using the gradle plugin architecture and hpi plugins are
>> generated with the Maven architecture"
>>
>> Can someone shed some light on this? Which of the above theories is
>> acceptable?
>>
>> --
>> 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/f49e8614-70d8-4fa2-973a-20181d43c14d%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/f49e8614-70d8-4fa2-973a-20181d43c14d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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/CAPiUgVcjo0UusXQ4v_143w1sp55ENhYwVszu-NznUuQu5S1nkQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVcjo0UusXQ4v_143w1sp55ENhYwVszu-NznUuQu5S1nkQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAD0DWAPv8DU5Y9HHAfhdmA9i44wT1jP_8SuTrQTRDa0Z4j%3Dxdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to