update 5g-mec-cloud-gaming jobs to Jenkins 36/3436/7
authorfeng <fengjiaxin22@163.com>
Wed, 13 May 2020 16:25:25 +0000 (00:25 +0800)
committerfeng <fengjiaxin22@163.com>
Fri, 15 May 2020 06:25:06 +0000 (14:25 +0800)
Change-Id: Ibb074147debc66f4182cf0f74a51e3db644ae90a

jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming-verify.yaml
jjb/akraino-templates/akraino-5g-mec-templates.yaml [new file with mode: 0644]

index 105b239..68d55d3 100644 (file)
@@ -8,4 +8,4 @@
       - master:
           branch: master
     jobs:
-      - akraino-project-stream-verify
\ No newline at end of file
+      - 5g-mec-project-stream-verify
diff --git a/jjb/akraino-templates/akraino-5g-mec-templates.yaml b/jjb/akraino-templates/akraino-5g-mec-templates.yaml
new file mode 100644 (file)
index 0000000..95cbdb0
--- /dev/null
@@ -0,0 +1,79 @@
+---
+- job-template:
+    id: 5g-mec-project-stream-verify
+    name: '{project-name}-{stream}-verify'
+    archive-artifacts: >
+      **/*.log
+    build-days-to-keep: 30
+    build-timeout: 60
+    stream: master
+    project-type: freestyle
+    submodule-recursive: true
+    node: '{build-node}'
+
+    properties:
+      - lf-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
+
+    parameters:
+      - lf-infra-parameters:
+          project: '{project}'
+          stream: '{stream}'
+          branch: '{branch}'
+          lftools-version: '{lftools-version}'
+
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{archive-artifacts}'
+          description: Artifacts to archive to the logs server.
+
+    wrappers:
+      - lf-infra-wrappers:
+          build-timeout: '{build-timeout}'
+          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+
+    scm:
+      - lf-infra-gerrit-scm:
+          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+          git-url: '{git-url}/{project}.git'
+          refspec: '$GERRIT_REFSPEC'
+          branch: '$GERRIT_BRANCH'
+          submodule-recursive: '{submodule-recursive}'
+          submodule-timeout: '{submodule-timeout}'
+          submodule-disable: false
+          choosing-strategy: 'gerrit'
+
+    triggers:
+      - gerrit:
+          server-name: '{gerrit-server-name}'
+          trigger-on:
+            - patchset-created-event:
+                exclude-drafts: 'false'
+                exclude-trivial-rebase: 'false'
+                exclude-no-code-change: 'false'
+            - change-merged-event
+            - draft-published-event
+            - comment-added-contains-event:
+                comment-contains-value: 'recheck'
+            - comment-added-contains-event:
+                comment-contains-value: 'reverify'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              disable-strict-forbidden-file-verification: 'true'
+              forbidden-file-paths:
+                - compare-type: ANT
+                  pattern: 'docs/**'
+                - compare-type: REG_EXP
+                  pattern: 'INFO.yaml'
+          readable-message: true
+
+    builders:
+      - shell: !include-raw-escape:
+          - ../shell/verify.sh
+
+    publishers:
+      - lf-infra-publish