pierventre | fb03d64 | 2020-07-02 23:10:12 +0200 | [diff] [blame] | 1 | --- |
| 2 | # Run fabric.p4 test pipeline |
| 3 | |
| 4 | - job-template: |
| 5 | id: 'fabric-p4-verify' |
| 6 | name: 'fabric-p4-verify' |
| 7 | |
| 8 | description: | |
| 9 | Created by {id} job-template from ci-management/jjb/templates/fabric-p4-verify.yaml<br/> |
| 10 | Runs fabric.p4 test pipeline |
| 11 | |
| 12 | properties: |
| 13 | - authorization: |
| 14 | JenkinsPowerusers: |
| 15 | - credentials-create |
| 16 | - credentials-delete |
| 17 | - credentials-manage-domains |
| 18 | - credentials-update |
| 19 | - credentials-view |
| 20 | - job-build |
| 21 | - job-cancel |
| 22 | - job-configure |
| 23 | - job-delete |
| 24 | - job-discover |
| 25 | - job-extended-read |
| 26 | - job-move |
| 27 | - job-read |
| 28 | - job-workspace |
| 29 | - run-delete |
| 30 | - run-replay |
| 31 | - run-update |
| 32 | ONFStaff: |
| 33 | - job-discover |
| 34 | - job-read |
| 35 | - onf-infra-properties: |
| 36 | build-days-to-keep: '{build-days-to-keep}' |
| 37 | artifact-num-to-keep: '-1' |
| 38 | - onf-infra-docker-properties: |
| 39 | docker-credentials-id: '{docker-credentials-id}' |
| 40 | docker-registry: '{docker-registry}' |
| 41 | |
| 42 | parameters: |
| 43 | - onf-infra-parameters: |
| 44 | project: '{project}' |
| 45 | stream: '{stream}' |
| 46 | gerrit_project: '{gerrit_project}' |
| 47 | |
| 48 | node: '{bigger-build-node}' |
| 49 | project-type: freestyle |
| 50 | concurrent: true |
| 51 | |
| 52 | scm: |
| 53 | - onf-infra-gerrit-scm: |
| 54 | git-url: '$GIT_URL/$GERRIT_PROJECT' |
| 55 | refspec: '$GERRIT_REFSPEC' |
| 56 | branch: '$GERRIT_BRANCH' |
| 57 | submodule-recursive: '{submodule-recursive}' |
| 58 | choosing-strategy: gerrit |
| 59 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
pierventre | 113c0f2 | 2020-07-07 12:41:38 +0200 | [diff] [blame^] | 60 | basedir: '' |
pierventre | fb03d64 | 2020-07-02 23:10:12 +0200 | [diff] [blame] | 61 | |
| 62 | triggers: |
| 63 | - gerrit: |
| 64 | server-name: '{gerrit-server-name}' |
| 65 | dependency-jobs: '{dependency-jobs}' |
| 66 | trigger-on: |
| 67 | - patchset-created-event: |
| 68 | exclude-drafts: true |
| 69 | exclude-trivial-rebase: false |
| 70 | exclude-no-code-change: true |
| 71 | - draft-published-event: true |
| 72 | - comment-added-contains-event: |
| 73 | comment-contains-value: '(?i)^.*recheck$' |
| 74 | projects: |
| 75 | - project-compare-type: PLAIN |
| 76 | project-pattern: 'onos' |
| 77 | branches: |
| 78 | - branch-compare-type: REG_EXP |
| 79 | branch-pattern: '{branch-regexp}' |
| 80 | - branch-compare-type: PLAIN |
| 81 | branch-pattern: 'master' |
| 82 | file-paths: |
| 83 | - compare-type: ANT |
| 84 | pattern: 'pipelines/fabric/impl/src/main/resources/**' |
| 85 | - compare-type: ANT |
Carmelo Cascone | f4bf760 | 2020-07-06 22:30:24 -0700 | [diff] [blame] | 86 | pattern: 'pipelines/fabric/api/src/main/java/org/onosproject/pipelines/fabric/FabricConstants.java' |
| 87 | - compare-type: ANT |
pierventre | fb03d64 | 2020-07-02 23:10:12 +0200 | [diff] [blame] | 88 | pattern: 'pipelines/fabric/impl/src/main/java/org/onosproject/pipelines/fabric/impl/behaviour/FabricConstants.java' |
| 89 | |
| 90 | wrappers: |
| 91 | - lf-infra-wrappers: |
| 92 | build-timeout: '30' |
| 93 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 94 | |
| 95 | builders: |
| 96 | - inject: |
| 97 | properties-content: | |
| 98 | RESOURCES_PATH={resources_path} |
| 99 | SDE_REPO={sde_repo} |
| 100 | SDE_VER={sde_ver} |
| 101 | FABRIC_TOFINO={fabric_tofino} |
| 102 | FABRIC_TOFINO_REPO={fabric_tofino_repo} |
| 103 | FABRIC_P4TEST={fabric_p4test} |
| 104 | FABRIC_P4TEST_REPO={fabric_p4test_repo} |
| 105 | BMV2_RUN={bmv2_run} |
| 106 | TM_RUN={tm_run} |
| 107 | - shell: !include-raw-escape: ../shell/fabric-p4/fabric-p4-build-bmv2.sh |
| 108 | - shell: !include-raw-escape: ../shell/fabric-p4/fabric-p4-build-tofino.sh |
| 109 | - shell: !include-raw-escape: ../shell/fabric-p4/fabric-p4-p4test.sh |
| 110 | - shell: !include-raw-escape: ../shell/fabric-p4/fabric-p4-test-bmv2.sh |
| 111 | - shell: !include-raw-escape: ../shell/fabric-p4/fabric-p4-test-tofino.sh |
| 112 | |
| 113 | publishers: |
| 114 | - onf-infra-wscleanup-publisher |