Add jobs for fabric-tna GitHub repo

Change-Id: Id4b18a73837d9670b6902317d210950f1ae0707c
diff --git a/jjb/templates/fabric-tna-jobs.yaml b/jjb/templates/fabric-tna-jobs.yaml
new file mode 100644
index 0000000..5fe2498
--- /dev/null
+++ b/jjb/templates/fabric-tna-jobs.yaml
@@ -0,0 +1,122 @@
+---
+# Run pull request verify job for fabric-tna
+
+- job-template:
+    id: 'fabric-tna-pr-verify'
+    name: 'fabric-tna-pr-verify'
+
+    description: |
+      Created by {id} job-template from ci-management/jjb/templates/fabric-tna-jobs.yaml<br/>
+
+    properties:
+      # Visibility restricted to ONFStaff because logs contain output from
+      # Barefoot toolchain (under NDA).
+      - onf-infra-onfstaff-private:
+      - onf-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
+          artifact-num-to-keep: '-1'
+      - github:
+          url: 'https://github.com/{github-organization}/{project}'
+
+    node: '{bigger-build-node}'
+    project-type: freestyle
+    concurrent: true
+
+    parameters:
+      - onf-infra-parameters:
+          project: '{project}'
+          stream: '{stream}'
+          gerrit_project: 'not-a-gerrit-project'
+
+    scm:
+      - onf-infra-github-ssh-scm:
+          github-organization: '{github-organization}'
+          project: '{project}'
+          branch: "$sha1"
+          ssh-credential: "{github-onf-bot-ssh-credential}"
+
+    triggers:
+      - onf-infra-github-pr-trigger:
+          github_pr_org_list: '{obj:github_pr_org_list}'
+          github_pr_auth_id: '{github_pr_auth_id}'
+          status_context: 'fabric-tna-pr-verify'
+
+    wrappers:
+      - lf-infra-wrappers:
+          build-timeout: '30'
+          jenkins-ssh-credential: '{github-onf-bot-ssh-credential}'
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: docker-artifact-push-credentials
+              username: DOCKERHUB_USERNAME
+              password: DOCKERHUB_PASSWORD
+
+    builders:
+      - shell: !include-raw-escape: ../shell/docker-login.sh
+      # For now, let the actual job script evolve in the repo. We can make that
+      # a pipeline later.
+      - shell: |
+            bash .jenkins/pr_verify.sh
+
+    publishers:
+      - onf-infra-wscleanup-publisher
+
+- job-template:
+    id: 'fabric-tna-postmerge'
+    name: 'fabric-tna-postmerge'
+
+    description: |
+      Created by {id} job-template from ci-management/jjb/templates/fabric-tna-jobs.yaml<br/>
+
+    properties:
+      # Visibility restricted to ONFStaff because logs contain output from
+      # Barefoot toolchain (under NDA).
+      - onf-infra-onfstaff-private:
+      - onf-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
+          artifact-num-to-keep: '-1'
+      - github:
+          url: 'https://github.com/{github-organization}/{project}'
+
+    node: '{bigger-build-node}'
+    project-type: freestyle
+    concurrent: true
+
+    parameters:
+      - onf-infra-github-pr-merge-parameters:
+          repo-name: '{project}'
+          repo-url: 'git@github.com:{github-organization}/{project}.git'
+          branch: '{stream}'
+          sha1: '{stream}'
+
+
+    scm:
+      - onf-infra-github-ssh-scm:
+          github-organization: '{github-organization}'
+          project: '{project}'
+          branch: "$commitHash"
+          ssh-credential: "{github-onf-bot-ssh-credential}"
+
+    triggers:
+      - onf-infra-github-pr-trigger-merge:
+          project: '{project}'
+
+    wrappers:
+      - lf-infra-wrappers:
+          build-timeout: '30'
+          jenkins-ssh-credential: '{github-onf-bot-ssh-credential}'
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: docker-artifact-push-credentials
+              username: DOCKERHUB_USERNAME
+              password: DOCKERHUB_PASSWORD
+
+    builders:
+      - shell: !include-raw-escape: ../shell/docker-login.sh
+      # For now, let the actual job script evolve in the repo. We can make that
+      # a pipeline later.
+      - shell: |
+            bash .jenkins/postmerge.sh
+
+    publishers:
+      - onf-infra-wscleanup-publisher