-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline.yml
44 lines (38 loc) · 1.05 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
resource_types:
- name: email
type: docker-image
source:
repository: pcfseceng/email-resource
resources:
- name: git-repo
type: git
webhook_token: token
source:
uri: ((postman-task-git-uri))
branch: master
username: ((git-username))
password: ((git-password))
- name: email
type: email
source:
smtp:
host: ((smtp-address))
port: ((smtp-port))
username: ((email-username))
password: ((email-password))
from: ((email-address))
to: ((email-destination))
jobs:
- name: test-postman
plan:
- get: git-repo
- task: run-postman
file: git-repo/postman-task.yml
params:
script: git-repo/test/postman_collection_fails.json
html_report_template: git-repo/test/template/awesome-template.hbs
- put: email
params:
subject_text: "Testing finished"
body_text: "Testing is finished"
attachment_globs: [ "results/*.html" ]