jenkins-job-builder/tests/triggers/fixtures/pollurl001.yaml
Randy Coulman 88d3f2b399 Add support for URLTrigger plugin
Change-Id: Ibc96b3ecd65afb27398328f2b6220c32a800f3e6
2014-08-02 07:21:42 -07:00

29 lines
720 B
YAML

triggers:
- pollurl:
cron: '* * * * *'
polling-node: 'label expression'
urls:
- url: 'http://example.com/url1'
proxy: false
timeout: 442
username: username
password: sekr3t
check-status: 202
check-etag: false
check-date: true
check-content:
- simple: true
- json:
- '$..author'
- '$.store..price'
- url: 'http://example.com/url2'
proxy: true
check-etag: true
check-content:
- simple: false
- xml:
- '//author'
- '/store//price'
- text:
- '\d+'