What is difference between .hpi and .jpi of Jenkins plugins?

前端 未结 3 1054
一整个雨季
一整个雨季 2021-02-11 14:25

I have installed Jenkins plugins in two ways i.e. manually keeping the .hpi file in Jenkins home directory, and installing from Jenkins front-end (Manage Jenkins >

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-11 14:59

    Both are supposed to be identical to that extend that Jenkins is renaming hpi to jpi when you install it manually as you said.

    The reason why you see both in your JENKINS_HOME is the order in which plugins are loaded when Jenkins boots up: plugin.jpi gets precedence over plugin.hpi in case both are present. This is the way the upload installation makes sure the uploaded version will override the existing one after the restart.

提交回复
热议问题