Hi,

on linux this could be done with incron.


Regards,
Christoph



> From: jleggett <jlegg...@lenovo.com>
> To: Jenkins Users <jenkinsci-users@googlegroups.com>, 
> Date: 05.12.2016 20:35
> Subject: Can I execute a script every time a build gets deleted?
> Sent by: jenkinsci-users@googlegroups.com
> 
> Our build artifacts are stored outside of Jenkins.  Each jenkins 
> build result(artifacts) can possibly be located in 3 different 
> places on the file system.  To keep the file system from becoming 
> filled with old builds, I would like to execute a script every time 
> a build is deleted in Jenkins to ensure the other locations are 
> deleted as well.  
> 
> I've reviewed the existing plugins, but I do not see a way to 
> achieve this.  Does anyone know how to accomplish this?  Have I 
> missed something obvious?
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, 
> send an email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/
> d/msgid/jenkinsci-users/243c85c9-93e5-4883-a791-03dfb1abac0a%
> 40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

This Email was scanned by Sophos Anti Virus

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/OF831A28E0.CBA8BFCA-ONC1258081.002CDF23-C1258081.002CF6B9%40lex-com.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to