From: feng Date: Wed, 13 May 2020 16:25:25 +0000 (+0800) Subject: update 5g-mec-cloud-gaming jobs to Jenkins X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F3436%2F7;p=ci-management.git update 5g-mec-cloud-gaming jobs to Jenkins Change-Id: Ibb074147debc66f4182cf0f74a51e3db644ae90a --- diff --git a/jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming-verify.yaml b/jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming-verify.yaml index 105b239..68d55d3 100644 --- a/jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming-verify.yaml +++ b/jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming-verify.yaml @@ -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 index 0000000..95cbdb0 --- /dev/null +++ b/jjb/akraino-templates/akraino-5g-mec-templates.yaml @@ -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