Allow to deploy the same MCP configuration with different stack names
Change-Id: I302c3e38318994a8b446e86bc0a37fa81f06f3a0
diff --git a/jobs/templates/cleanup-jenkins-agents.yml b/jobs/templates/cleanup-jenkins-agents.yml
new file mode 100644
index 0000000..859463c
--- /dev/null
+++ b/jobs/templates/cleanup-jenkins-agents.yml
@@ -0,0 +1,18 @@
+- job-template:
+ project-type: pipeline
+ description: '{job-description}'
+ concurrent: false
+ disabled: false
+ name: cleanup-jenkins-agents
+ triggers:
+ - timed: 00 2 * * Sun
+ pipeline-scm:
+ lightweight-checkout: true
+ scm:
+ - git:
+ branches:
+ - master
+ url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
+ script-path: jobs/pipelines/remove-old-jenkins-agents.groovy
+ logrotate:
+ daysToKeep: 365
\ No newline at end of file