Allow to set refspec for salt-generated jobs
Change-Id: I07f61ee7ca981ae3bd588de995aa48c93123892b
Related-task: #PROD-23187 (PROD:23187)
diff --git a/tests/pillar/client.sls b/tests/pillar/client.sls
index d1078a5..37b4a7a 100644
--- a/tests/pillar/client.sls
+++ b/tests/pillar/client.sls
@@ -29,6 +29,9 @@
url: https://github.com/jenkinsci/docker.git
branch: master
script: Jenkinsfile
+ remote_name: origin
+ refspec: "$ref"
+ wipe_workspace: true
github:
url: https://github.com/jenkinsci/docker
name: "Jenkins Docker Image"
@@ -48,6 +51,10 @@
type: boolean
description: true/false
default: true
+ ref:
+ type: string
+ description: ref
+ default: ""
string_param:
type: string
description: 1 liner