Arthur: Add tf-github-autoresponse.yaml
Test github auto response job
Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: I3fc4ab5316dea82b56ddd80b33b5542b656ea009
diff --git a/tf-github-autoresponse.yaml b/tf-github-autoresponse.yaml
new file mode 100644
index 0000000..5365ece
--- /dev/null
+++ b/tf-github-autoresponse.yaml
@@ -0,0 +1,41 @@
+- job:
+ block-downstream: false
+ block-upstream: false
+ disabled: false
+ name: tf-github-autoresponse
+ display-name: 'TF Github auto response'
+ project-type: freestyle
+ node: master
+ 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-script
+ 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