Implemented max keep builds property on jobs
Change-Id: I2c0a436a828d333817ceb108c5725c0424136527
diff --git a/README.rst b/README.rst
old mode 100644
new mode 100755
index 44eedef..5b6f7ea
--- a/README.rst
+++ b/README.rst
@@ -306,6 +306,23 @@
- repository: base
file: macros/git.groovy
+Setting job max builds to keep (amount of last builds stored on Jenkins master)
+
+.. code-block:: yaml
+
+ jenkins:
+ client:
+ job:
+ my-amazing-job:
+ type: workflow
+ discard:
+ build:
+ keep_num: 5
+ keep_days: 5
+ artifact:
+ keep_num: 6
+ keep_days: 6
+
Purging undefined jobs from Jenkins
.. code-block:: yaml