blob: c9e8bd8f83d757a27b3c22843e20611effe78d75 [file] [log] [blame]
Arthur She03139b62024-01-07 21:46:00 -08001- job:
2 name: arthur-tf-a-docs-watcher
Arthur Sheed03a3d2024-01-07 22:05:27 -08003 node: master
Arthur She03139b62024-01-07 21:46:00 -08004 project-type: freestyle
5 concurrent: false
6 description:
7 Triggers whenever a code change is merged into the lts-v2.8 branch
8 or a lts tag is created of the TF-A repository. Executes a webhook
9 to trigger the ReadTheDocs service to build a fresh copy of the
10 documentation for one or more branches.
11 disabled: false
12 builders:
13 - shell:
14 !include-raw: arthur-scripts/arthur-tf-a-docs-watcher.sh
15 properties:
16 - build-discarder:
17 days-to-keep: 60
18 num-to-keep: 10
19 triggers:
20 - gerrit:
21 silent: true
22 server-name: 'review.trustedfirmware.org'
23 projects:
24 - branches:
25 - branch-compare-type: PLAIN
26 branch-pattern: 'master'
Arthur She03139b62024-01-07 21:46:00 -080027 - branch-compare-type: REG_EXP
Arthur She41c34202024-01-15 15:34:20 -080028 branch-pattern: 'lts-v.*'
29 - branch-compare-type: REG_EXP
30 branch-pattern: refs/tags/lts-v.*
Arthur She03139b62024-01-07 21:46:00 -080031 project-compare-type: PLAIN
32 project-pattern: 'sandbox/arthur'
33 trigger-on:
34 - ref-updated-event
35 wrappers:
36 - timestamps
37 - credentials-binding:
38 - text:
Arthur She03139b62024-01-07 21:46:00 -080039 credential-id: ARTHUR_RTD_API_TOKEN
40 variable: ARTHUR_RTD_API_TOKEN
41 - text:
42 credential-id: ARTHUR_RTD_WEBHOOK_SECRET
43 variable: ARTHUR_RTD_WEBHOOK_SECRET
44 publishers:
45 - workspace-cleanup