-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-pipeline.yaml
52 lines (52 loc) · 1.31 KB
/
test-pipeline.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
apiVersion: "v1"
kind: "Template"
metadata:
creationTimestamp: null
name: "openshift-test-pipeline-template"
objects:
- apiVersion: "build.openshift.io/v1"
kind: "BuildConfig"
metadata:
name: "openshift-test-pipeline"
labels:
app: "openshift-test-pipeline"
spec:
source:
git:
ref: ${SOURCE_REPOSITORY_REF}
uri: "https://github.com/UKCloud/openshift-test-pipeline"
strategy:
jenkinsPipelineStrategy:
env:
- name: "USERNAME"
value: ""
- name: "USERPASS"
value: ""
- name: "ADMINUSER"
value: ""
- name: "ADMINPASS"
value: ""
- name: "BASTIONIP"
value: ""
- name: "DOMAINSUFFIX"
value: ""
- name: "MULTINETWORK"
value: ""
- name: "SSHKEY"
value: ""
jenkinsfilePath: "Jenkinsfile"
triggers:
- generic:
allowEnv: true
secret: ${SECRET}
type: "Generic"
parameters:
- description: The base64 value used for the generic webhook secret.
displayName: Secret
name: SECRET
required: true
- description: Set this to a branch name, tag or other ref of your repository if you
are not using the default branch.
displayName: Git Reference
name: SOURCE_REPOSITORY_REF
value: master