Allow defining workflow-scm type of jobs
- use common to be included to deduplicate code
- don't abuse salt fileserver
diff --git a/README.rst b/README.rst
index 44fe5ba..a83d61f 100644
--- a/README.rst
+++ b/README.rst
@@ -160,6 +160,39 @@
type: text
description: multi-liner
default: default_text
+ jobname_scm:
+ type: workflow-scm
+ concurrent: false
+ scm:
+ type: git
+ url: https://github.com/jenkinsci/docker.git
+ branch: master
+ script: Jenkinsfile
+ github:
+ url: https://github.com/jenkinsci/docker
+ name: "Jenkins Docker Image"
+ trigger:
+ github:
+ pollscm:
+ spec: "H/15 * * * *"
+ reverse:
+ projects:
+ - test1
+ - test2
+ state: SUCCESS
+ param:
+ bool_param:
+ type: boolean
+ description: true/false
+ default: true
+ string_param:
+ type: string
+ description: 1 liner
+ default: default_string
+ text_param:
+ type: text
+ description: multi-liner
+ default: default_text
Inline Groovy script samples