I think the Thin Backup plugin does that; you might look at it for ideas. From: <[email protected]> on behalf of Daniel Anechitoaie <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Wednesday, January 8, 2020 at 7:38 AM To: Jenkins Developers <[email protected]> Subject: Is there ant API/way to make a plugin that runs some action periodically?
Notice: This email is from an external sender. I need to gather some statistics (nr of jobs, nr of builds, their status, etc) for our internal Jenkins and post that report to some HTTPS endpoint. Is there a way that I can make a plugin or something, that is not an actual job, so that doesn't require an actual agent/worker that will do this? Some Jenkins Java API that would allow me to run some code in the background every day or so. Kind of like how Jenkins checks for plugin updates, new versions, etc. My other option would be to use the REST API and pull this data out of Jekins if possible but I think pushing it from Jenkins might be better in my case. Is there any way this can be done? And APIs that Jenkins has for this? Any particular Java class that needs to be extended. Thank you. -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7c041c4d-2f5e-4f1d-8803-782e40bbdd80%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-dev/7c041c4d-2f5e-4f1d-8803-782e40bbdd80%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/783F8984-1D7A-4F7E-96B9-6C6DF959C1BD%40godaddy.com.
