puppet-jenkins icon indicating copy to clipboard operation
puppet-jenkins copied to clipboard

CLI jar not updated with core

Open jhoblitt opened this issue 6 years ago • 4 comments

The current logic for extracting jenkins-cli.jar from jenkins.war is not triggered when the core is updated.

jhoblitt avatar Jul 14 '17 19:07 jhoblitt

We're experiencing this as well, and bit us today cc @annethor

On 14 Jul 2017 9:04 pm, "Joshua Hoblitt" [email protected] wrote:

The current logic for extracting jenkins-cli.jar from jenkins.war is not triggered when the core is updated.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jenkinsci/puppet-jenkins/issues/782, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQp3bQmXqzSV33ENA87M56ESURmPzZ4ks5sN7ungaJpZM4OYnwC .

madAndroid avatar Jul 14 '17 19:07 madAndroid

I'm not sure what the best way to handle this is. A "big hammer" would be to extract the jar on every run. Another option would be to look at the filesize in the war and compare that to what is on disk. Yet another option would be make it trigger on notification from package installation.

jhoblitt avatar Jul 14 '17 19:07 jhoblitt

That last option seems to me to be the safest - a notify on the package would ensure it's updated each time

On 14 Jul 2017 9:25 pm, "Joshua Hoblitt" [email protected] wrote:

I'm not sure what the best way to handle this is. A "big hammer" would be to extract the jar on every run. Another option would be to look at the filesize in the war and compare that to what is on disk. Yet another option would be make it trigger on notification from package installation.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jenkinsci/puppet-jenkins/issues/782#issuecomment-315446553, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQp3bcHA3d6zrPzQ2EVf_Qb2kKxXP0Bks5sN8CzgaJpZM4OYnwC .

madAndroid avatar Jul 15 '17 09:07 madAndroid

We are getting hit by this after updating. slave.jar and jenkins-cli.jar are corrupt. Is there a work around?

joe-riley avatar Jan 18 '19 00:01 joe-riley