Add mbed-tls-pr-merge & Mbed-TLS view

Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: I82ae7579e16ef4ba3d9137b58696fd31df2a2f0f
diff --git a/Mbed-TLS.yaml b/Mbed-TLS.yaml
new file mode 100644
index 0000000..6cd18ff
--- /dev/null
+++ b/Mbed-TLS.yaml
@@ -0,0 +1,19 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2021, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+
+- view:
+    name: Mbed-TLS
+    view-type: list
+    regex: mbed.*
+    columns:
+     - status
+     - weather
+     - job
+     - last-success
+     - last-failure
+     - last-duration
+     - build-button
diff --git a/mbed-tls-pr-merge.yaml b/mbed-tls-pr-merge.yaml
new file mode 100644
index 0000000..e639086
--- /dev/null
+++ b/mbed-tls-pr-merge.yaml
@@ -0,0 +1,50 @@
+- job:
+    name: mbed-tls-pr-merge
+    description: 'Job for testing PRs merged with the target branch head'
+    project-type: multibranch
+    disabled: false
+    prune-dead-branches: true
+    days-to-keep: 60
+    num-to-keep: 1000
+    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">
+                      <repoOwner>Mbed-TLS</repoOwner>
+                      <repository>mbedtls-test</repository>
+                      <repositoryUrl>https://github.com/Mbed-TLS/mbedtls-test.git</repositoryUrl>
+                    </scm>
+                  </retriever>
+                  <defaultVersion>master</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: mbedtls-github-token
+        repo-owner: Mbed-TLS
+        repo: mbedtls
+        repository-url: https://github.com/Mbed-TLS/mbedtls.git
+        branch-discovery: no-pr
+        discover-pr-forks-strategy: both
+        discover-pr-forks-trust: permission
+        discover-pr-origin: both
+        head-filter-regex: '(?!^PR-(1824)-(merge|head)$)(PR-\d+-merge)'
+        property-strategies:
+          all-branches:
+          - pipeline-branch-durability-override: performance-optimized
+        submodule:
+          disable: false
+          recursive: true
+          tracking: false
+          parent-credentials: false