-
Notifications
You must be signed in to change notification settings - Fork 1
/
pipeline.yml
61 lines (55 loc) · 1.55 KB
/
pipeline.yml
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
53
54
55
56
57
58
59
60
61
resource_types:
- name: postman
type: docker-image
source:
repository: atzawada/concourse-postman-resource
- name: email
type: docker-image
source:
repository: pcfseceng/email-resource
resources:
- name: git-repo
type: git
webhook_token: token
source:
uri: ((postman-resource-git-uri))
branch: master
username: ((git-username))
password: ((git-password))
- name: postman
type: postman
- name: email
type: email
source:
smtp:
host: ((email-host))
port: ((email-port))
username: ((email-username))
password: TabM8teAppl!c8tion((email-password))
from: ((email-address))
to: [ ((email-recipient)) ]
jobs:
- name: test-postman
plan:
- get: git-repo
- put: postman
params:
script: "git-repo/test/postman_collection.json"
folder: "git-repo/test"
#env: "test-env"
#data: "test-data"
#globals: "test-globals"
#iterations: 10
#bail: true
#silent: true
#insecure: true
#suppress_exit_code: true
#ignore_redirects: true
fail_job_on_test_failure: false
dump_json_file_location: "git-repo/test/results"
dump_html_file_location: "git-repo/test/results"
- put: email
params:
subject_text: "Testing finished"
body_text: "See attached file."
attachment_globs: [ "postman/results.json" ]