Arthur: add arthur-mbedtls-pr-multibranch
Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: Ie04219aad293a996bc08046b33cfb92baaed688d
diff --git a/arthur-mbedtls-pr-multibranch.yaml b/arthur-mbedtls-pr-multibranch.yaml
new file mode 100644
index 0000000..7358c08
--- /dev/null
+++ b/arthur-mbedtls-pr-multibranch.yaml
@@ -0,0 +1,60 @@
+- job:
+ name: arthur-mbedtls-pr-multibranch
+ description: 'mbedtls PR job'
+ project-type: multibranch
+ prune-dead-branches: true
+ script-path: tests/.jenkins/Jenkinsfile
+ properties:
+ - raw:
+ xml: |
+ <org.jenkinsci.plugins.workflow.libs.FolderLibraries plugin="workflow-cps-global-lib@2.9">
+ <libraries>
+ <org.jenkinsci.plugins.workflow.libs.LibraryConfiguration>
+ <name>mbedtls-test</name>
+ <retriever class="org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever">
+ <scm class="org.jenkinsci.plugins.github_branch_source.GitHubSCMSource" plugin="github-branch-source@2.9.1">
+ <apiUri>https://api.github.com</apiUri>
+ <repoOwner>arthur-she</repoOwner>
+ <repository>mbedtls-test</repository>
+ <repositoryUrl>https://github.com/arthur-she/mbedtls-test</repositoryUrl>
+ <traits>
+ <org.jenkinsci.plugins.github__branch__source.BranchDiscoveryTrait>
+ <strategyId>1</strategyId>
+ </org.jenkinsci.plugins.github__branch__source.BranchDiscoveryTrait>
+ <org.jenkinsci.plugins.github__branch__source.OriginPullRequestDiscoveryTrait>
+ <strategyId>2</strategyId>
+ </org.jenkinsci.plugins.github__branch__source.OriginPullRequestDiscoveryTrait>
+ <org.jenkinsci.plugins.github__branch__source.ForkPullRequestDiscoveryTrait>
+ <strategyId>2</strategyId>
+ <trust class="org.jenkinsci.plugins.github_branch_source.ForkPullRequestDiscoveryTrait$TrustPermission"/>
+ </org.jenkinsci.plugins.github__branch__source.ForkPullRequestDiscoveryTrait>
+ </traits>
+ </scm>
+ </retriever>
+ <defaultVersion>leo-mbedtls-open-ci-notify-github-staging-testing</defaultVersion>
+ <implicit>true</implicit>
+ <allowVersionOverride>true</allowVersionOverride>
+ <includeInChangesets>true</includeInChangesets>
+ </org.jenkinsci.plugins.workflow.libs.LibraryConfiguration>
+ </libraries>
+ </org.jenkinsci.plugins.workflow.libs.FolderLibraries>
+ scm:
+ - github:
+ api-uri: https://api.github.com
+ credentials-id: arthur-mbedtls-github-token
+ repo-owner: arthur-she
+ repo: mbedtls
+ repository-url: https://github.com/arthur-she/mbedtls.git
+ branch-discovery: no-pr
+ discover-pr-origin: both
+ discover-pr-forks-strategy: both
+ discover-pr-forks-trust: permission
+ head-filter-regex: '(?!^PR-(1824)-(merge|head)$)(PR-\d+-(merge|head))'
+ property-strategies:
+ all-branches:
+ - suppress-scm-triggering: true
+ submodule:
+ disable: false
+ recursive: true
+ tracking: false
+ parent-credentials: false