blob: c9e8bd8f83d757a27b3c22843e20611effe78d75 [file] [log] [blame]
- job:
name: arthur-tf-a-docs-watcher
node: master
project-type: freestyle
concurrent: false
description:
Triggers whenever a code change is merged into the lts-v2.8 branch
or a lts tag is created of the TF-A repository. Executes a webhook
to trigger the ReadTheDocs service to build a fresh copy of the
documentation for one or more branches.
disabled: false
builders:
- shell:
!include-raw: arthur-scripts/arthur-tf-a-docs-watcher.sh
properties:
- build-discarder:
days-to-keep: 60
num-to-keep: 10
triggers:
- gerrit:
silent: true
server-name: 'review.trustedfirmware.org'
projects:
- branches:
- branch-compare-type: PLAIN
branch-pattern: 'master'
- branch-compare-type: REG_EXP
branch-pattern: 'lts-v.*'
- branch-compare-type: REG_EXP
branch-pattern: refs/tags/lts-v.*
project-compare-type: PLAIN
project-pattern: 'sandbox/arthur'
trigger-on:
- ref-updated-event
wrappers:
- timestamps
- credentials-binding:
- text:
credential-id: ARTHUR_RTD_API_TOKEN
variable: ARTHUR_RTD_API_TOKEN
- text:
credential-id: ARTHUR_RTD_WEBHOOK_SECRET
variable: ARTHUR_RTD_WEBHOOK_SECRET
publishers:
- workspace-cleanup