jobs: include common prefix 'tf-a' for all job names

Besides having a uniform pattern to identify TF-A CI jobs, the idea is
to easily match these using patterns/regexs which would make role-base
authentication easier to maintain. Role-base authentication would
become the default authentication method [1] required for the on-going
MbedTLS CI migration [2], where jobs only accept this authentication
type.

Once role-base setup is complete at Jenkins configuration level for
all CI jobs (include TF-A and TF-M jobs), then subsequent patches
should remove all the current (matrix) authentication code embedded
into the jobs.

[1] https://linaro.atlassian.net/browse/TFC-197
[2] https://linaro.atlassian.net/browse/TFC-4

Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Change-Id: I0cd286969c2ea8020bab6162c094bef63ab9afaa
diff --git a/tf-a-tftf-gerrit-tforg-l1.yaml b/tf-a-tftf-gerrit-tforg-l1.yaml
new file mode 100644
index 0000000..52a0ff0
--- /dev/null
+++ b/tf-a-tftf-gerrit-tforg-l1.yaml
@@ -0,0 +1,117 @@
+- job:
+    name: tf-a-tftf-gerrit-tforg-l1
+    node: docker-amd64-tf-a-bionic
+    project-type: multijob
+    concurrent: true
+    disabled: false
+    description: |
+      Job that triggers for every TF-A-Tests patch approved with the Allow-CI+1
+      label on review.trustedfirmware.org.
+    properties:
+    - throttle:
+        option: project
+        enabled: true
+        max-total: 5
+    - build-discarder:
+        days-to-keep: 14
+    - authorization:
+        !include: authorization.yaml.inc
+    parameters:
+        - string:
+            name: GERRIT_PROJECT
+            default: 'TF-A/tf-a-tests'
+        - string:
+            name: GERRIT_BRANCH
+            default: 'refs/heads/master'
+        - string:
+            name: GERRIT_REFSPEC
+            default: '+refs/heads/master:refs/remotes/origin/master'
+        - string:
+            name: GERRIT_PATCHSET_NUMBER
+            default: ''
+        - string:
+            name: GERRIT_CHANGE_NUMBER
+            default: ''
+        - string:
+            name: TFTF_GERRIT_REFSPEC
+            default: ${GERRIT_REFSPEC}
+            description: 'Parameter only used by the clone script'
+        - string:
+            name: SHARE_FOLDER
+            default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
+            description: 'Folder containing shared repositories for downstream pipeline jobs'
+    wrappers:
+      - credentials-binding:
+          - ssh-user-private-key:
+              credential-id: TFA_CI_BOT_USER_SSH_KEY
+              key-file-variable: CI_BOT_KEY
+              username-variable: CI_BOT_USERNAME
+              passphrase-variable: ''
+      - workspace-cleanup
+      - timestamps
+    builders:
+    - shell:
+        !include-raw: scripts/clone.sh
+    - shell: |
+        #!/bin/bash
+        set -e
+        cat << EOF > env.param
+        GERRIT_PATCHSET_NUMBER=${GERRIT_PATCHSET_NUMBER}
+        GERRIT_CHANGE_NUMBER=${GERRIT_CHANGE_NUMBER}
+        GERRIT_HOST=${GERRIT_HOST}
+        QA_SERVER_PROJECT=${JOB_NAME}
+        QA_SERVER_VERSION=${BUILD_NUMBER}
+        TFTF_GERRIT_PROJECT=${GERRIT_PROJECT}
+        TFTF_GERRIT_BRANCH=${GERRIT_BRANCH}
+        TFTF_GERRIT_REFSPEC=${GERRIT_REFSPEC}
+        SHARE_FOLDER=${SHARE_FOLDER}
+        EOF
+    - multijob:
+        condition: COMPLETED
+        name: Build and static checks
+        projects:
+        - kill-phase-on: NEVER
+          name: tf-a-static-checks
+          predefined-parameters: |-
+            REPO_UNDER_TEST=tf-a-tests
+          property-file: env.param
+    - multijob:
+        condition: COMPLETED
+        name: Run doc build check
+        projects:
+        - kill-phase-on: NEVER
+          name: tf-a-ci-gateway
+          predefined-parameters: |
+            TEST_GROUPS=tftf-l1-check-docs
+          property-file: env.param
+    - multijob:
+        condition: COMPLETED
+        name: Build TF-A-Tests
+        projects:
+        - kill-phase-on: NEVER
+          name: tf-a-ci-gateway
+          predefined-parameters: |
+            TEST_GROUPS=tftf-l1-build
+          property-file: env.param
+    - multijob:
+        condition: COMPLETED
+        name: Basic TF-A-Tests test cases
+        projects:
+        - kill-phase-on: NEVER
+          name: tf-a-ci-gateway
+          predefined-parameters: |
+            TEST_GROUPS=tftf-l1-fvp tftf-l1-juno
+          property-file: env.param
+    triggers:
+    - gerrit:
+        server-name: review.trustedfirmware.org
+        trigger-on:
+          - comment-added-event:
+              approval-category: "Allow-CI"
+              approval-value: 1
+        projects:
+          - project-compare-type: PLAIN
+            project-pattern: TF-A/tf-a-tests
+            branches:
+            - branch-compare-type: PLAIN
+              branch-pattern: master