1---
2- job:
3    name: elastic+elasticsearch-php+pull-request
4    display-name: 'elastic / elasticsearch-php # pull-request'
5    description: Testing of elasticsearch-php pull requests.
6    junit_results: "tests/*-junit.xml"
7    scm:
8    - git:
9        branches:
10        - ${ghprbActualCommit}
11        refspec: +refs/pull/*:refs/remotes/origin/pr/*
12    triggers:
13    - github-pull-request:
14        org-list:
15        - elastic
16        allow-whitelist-orgs-as-admins: true
17        github-hooks: true
18        status-context: clients-ci
19        cancel-builds-on-update: true
20