Add schema for jenkins formula
Change-Id: Iadf3199a1cdcda64f892ada9ecc1379a306549ef
Related-prod: PROD:20632
diff --git a/tests/pillar/client.sls b/tests/pillar/client.sls
index 3d2cd31..ca1cc5c 100644
--- a/tests/pillar/client.sls
+++ b/tests/pillar/client.sls
@@ -39,7 +39,7 @@
trigger:
timer:
spec: "H H * * *"
- github:
+ github: {}
pollscm:
spec: "H/15 * * * *"
reverse:
@@ -64,6 +64,34 @@
type: text
description: multi-liner
default: default_text
+ job_template:
+ template_name:
+ jobs:
+ - name: os
+ salt_url: http://localhost:6969
+ name: deploy-\{\{name}}
+ template:
+ concurrent: false
+ discard:
+ artifact:
+ keep_num: 10
+ build:
+ keep_num: 10
+ display_name: Deploy \{\{name}}
+ param:
+ SALT_MASTER_URL:
+ default: '\{\{salt_url}}'
+ type: string
+ trigger:
+ pollscm:
+ spec: "H/60 * * * *"
+ scm:
+ branch: master
+ credentials: gerrit
+ script: Jenkinsfile
+ type: git
+ url: ssh://admin@localhost:29418/project/\{\{name}}
+ type: workflow-scm
approved_scripts:
- method groovy.json.JsonSlurperClassic parseText java.lang.String
java: