Hi Joachim, In general, for that kind of question, the way to go is to search https://wiki.jenkins-ci.org/display/JENKINS/Extension+points for something matching your needs. Quickly greping myself, though I never did that very thing, maybe implementing either hudson.lifecycle.Lifecycle or hudson.model.RestartListener may be of interest I guess.
My 2 cents 2015-11-04 9:22 GMT+01:00 Joachim Nilsson <[email protected]>: > Hi > > How do I detect Jenkins shut-down in my plug-in so I can close down > connections and thread pools in a nice way? > > Regards, > Joachim > > -- > 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/32bb6310-6e0b-4d0c-9ddb-9e40c021c642%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/32bb6310-6e0b-4d0c-9ddb-9e40c021c642%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor ! -- 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/CANWgJS6GSd5FD1TYxh9%3DuiquLxaeG4TvNNPKAEXSPeH0OdF6Yg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
