NingSun | fd33dba | 2018-03-08 16:11:39 -0800 | [diff] [blame] | 1 | --- |
| 2 | # vim: sw=2 ts=2 sts=2 et : |
| 3 | |
| 4 | - job-template: |
| 5 | # |
| 6 | # job template for build C/C++ project |
| 7 | # |
| 8 | # Required Variables: |
| 9 | # script: build script to execute |
| 10 | # |
| 11 | |
| 12 | name: '{project-name}-{stream}-verify-c' |
| 13 | project-type: freestyle |
| 14 | node: '{build-node}' |
| 15 | |
| 16 | properties: |
| 17 | - infra-properties: |
| 18 | build-days-to-keep: '{build-days-to-keep}' |
| 19 | |
| 20 | parameters: |
| 21 | - infra-parameters: |
| 22 | project: '{project}' |
| 23 | branch: '{branch}' |
| 24 | refspec: 'refs/heads/{branch}' |
| 25 | artifacts: '{archive-artifacts}' |
| 26 | - maven-exec: |
| 27 | maven-version: '{maven-version}' |
| 28 | |
| 29 | scm: |
| 30 | - gerrit-trigger-scm: |
NingSun | b9e870f | 2018-03-12 19:07:29 -0700 | [diff] [blame] | 31 | refspec: '$GERRIT_REFSPEC' |
NingSun | fd33dba | 2018-03-08 16:11:39 -0800 | [diff] [blame] | 32 | choosing-strategy: 'gerrit' |
| 33 | submodule-recursive: '{submodule-recursive}' |
| 34 | |
| 35 | wrappers: |
| 36 | - infra-wrappers: |
| 37 | build-timeout: '{build-timeout}' |
| 38 | |
| 39 | triggers: |
| 40 | - gerrit-trigger-patch-submitted: |
| 41 | server: '{server-name}' |
| 42 | project: '{project}' |
| 43 | branch: '{branch}' |
| 44 | files: '**' |
| 45 | |
| 46 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 47 | - lf-infra-pre-build |
NingSun | fd33dba | 2018-03-08 16:11:39 -0800 | [diff] [blame] | 48 | - shell: '{script}' |
| 49 | |
| 50 | publishers: |
| 51 | - infra-shiplogs: |
| 52 | maven-version: '{maven-version}' |
Manjunath Ranganathaiah | 9d6c823 | 2018-08-15 11:42:10 -0700 | [diff] [blame] | 53 | |
| 54 | |
| 55 | - job-template: |
| 56 | # Job template for building & pushing docker images |
| 57 | # |
| 58 | # The purpose of this job template is to run: |
| 59 | # 1. login to the docker registry |
| 60 | # 2. run a specified shell builder |
| 61 | # |
| 62 | |
| 63 | name: '{project-name}-{stream}-docker-c-shell-daily' |
| 64 | project-type: freestyle |
| 65 | node: 'ubuntu1604-docker-8c-8g' |
| 66 | disabled: false |
| 67 | properties: |
| 68 | - infra-properties: |
| 69 | build-days-to-keep: '{build-days-to-keep}' |
| 70 | |
| 71 | parameters: |
| 72 | - infra-parameters: |
| 73 | project: '{project}' |
| 74 | branch: '{branch}' |
| 75 | refspec: 'refs/heads/{branch}' |
| 76 | artifacts: '{archive-artifacts}' |
| 77 | |
| 78 | scm: |
| 79 | - gerrit-trigger-scm: |
| 80 | refspec: '' |
| 81 | choosing-strategy: 'default' |
| 82 | submodule-recursive: '{submodule-recursive}' |
| 83 | |
| 84 | wrappers: |
| 85 | - infra-wrappers: |
| 86 | build-timeout: '{build-timeout}' |
| 87 | |
| 88 | triggers: |
| 89 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 90 | - timed: '@daily' |
Manjunath Ranganathaiah | 9d6c823 | 2018-08-15 11:42:10 -0700 | [diff] [blame] | 91 | - gerrit-trigger-release-manually: |
| 92 | server: '{server-name}' |
| 93 | project: '{project}' |
| 94 | branch: '{branch}' |
| 95 | |
| 96 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 97 | - lf-infra-pre-build |
Manjunath Ranganathaiah | 9d6c823 | 2018-08-15 11:42:10 -0700 | [diff] [blame] | 98 | - provide-maven-settings: |
| 99 | global-settings-file: 'global-settings' |
| 100 | settings-file: '{mvn-settings}' |
| 101 | - docker-login |
| 102 | - shell: '{script}' |
| 103 | |
| 104 | publishers: |
| 105 | - infra-shiplogs: |
| 106 | maven-version: '{maven-version}' |