- job: | |
block-downstream: false | |
block-upstream: false | |
disabled: false | |
name: tf-github-autoresponse | |
display-name: 'TF Github auto response' | |
project-type: freestyle | |
node: master | |
parameters: | |
- string: | |
name: BYPASS_ISSUE_RESPONSE_PROJ | |
description: | | |
The projects that don't need the issue response | |
default: 'TrustedFirmware-A/trusted-firmware-a TrustedFirmware-A/tf-a-ci-scripts TrustedFirmware-A/tf-a-tests' | |
- string: | |
name: BYPASS_PR_RESPONSE_PROJ | |
description: | | |
The projects that don't need the PR response | |
default: '' | |
builders: | |
- shell: |- | |
#!/bin/bash | |
echo "########################################################################" | |
echo " Github Environment" | |
env |grep '^github_' | |
echo "########################################################################" | |
bash tf-ci-scripts/ci/run_github_autoreply.sh | |
properties: | |
- build-discarder: | |
days-to-keep: 30 | |
num-to-keep: 100 | |
scm: | |
- git: | |
branches: | |
- master | |
clean: | |
before: true | |
url: https://review.trustedfirmware.org/next/ci/tf-ci-scripts | |
basedir: tf-ci-scripts | |
triggers: | |
- generic-webhook-trigger: | |
post-content-params: | |
- type: JSONPath | |
key: github_repo_full_name | |
value: $.repository.full_name | |
- type: JSONPath | |
key: github_issue_num | |
value: $.issue.number | |
- type: JSONPath | |
key: github_pr_num | |
value: $.pull_request.number | |
token: trustedfirmware_github_auto_response | |
wrappers: | |
- credentials-binding: | |
- text: | |
credential-id: openci-bot-github-token | |
variable: AUTH_TOKEN |