Allow email notification of diskspace when free-space have reached 95% on a given directories (e.g C: Drive).
- Whilst waiting for a proper plugin to be develop pertaining to task (https://issues.jenkins-ci.org/browse/JENKINS-2107), i have develop a quick python script to cater for this scenario.
Jenkins plugins needed:
- Text-finder (latest)
- Email-ext (Latest)
- Enclosed python script.
1. Set the build to build on schedule (daily, hourly etc).
2. Make sure discard all previous builds for house-keeping mechanism.
3. Attached .jpg show how to integrate these functionality together.