Add job builds discarder
Change-Id: I7a4a46826b547731b91f2ed1f58927ba4ddd4455
diff --git a/jenkins/client/job/deploy/update/utils.yml b/jenkins/client/job/deploy/update/utils.yml
index 1a6062e..ca669d4 100644
--- a/jenkins/client/job/deploy/update/utils.yml
+++ b/jenkins/client/job/deploy/update/utils.yml
@@ -5,6 +5,11 @@
reclass_metadata_update:
type: workflow-scm
concurrent: true
+ discard:
+ build:
+ keep_num: 10
+ artifact:
+ keep_num: 10
display_name: "Deploy - Update reclass metadata"
scm:
type: git
@@ -28,6 +33,11 @@
salt_master_formula_update:
type: workflow-scm
concurrent: true
+ discard:
+ build:
+ keep_num: 10
+ artifact:
+ keep_num: 10
display_name: "Deploy - Update salt master formulas"
scm:
type: git
@@ -51,6 +61,11 @@
jenkins_master_job_update:
type: workflow-scm
concurrent: true
+ discard:
+ build:
+ keep_num: 10
+ artifact:
+ keep_num: 10
display_name: "Deploy - Update jenkins master jobs"
scm:
type: git