Kailash Khalasi | 0f528d8 | 2018-05-17 18:39:28 -0700 | [diff] [blame] | 1 | --- |
| 2 | # xos-rest-gw test |
| 3 | |
| 4 | - project: |
| 5 | name: xos-rest-gw |
| 6 | |
| 7 | project-name: '{name}' |
| 8 | |
| 9 | jobs: |
| 10 | - 'xos-rest-gw' |
| 11 | |
Kailash Khalasi | 4d2e5d6 | 2018-05-21 10:01:05 -0700 | [diff] [blame] | 12 | - job-template: |
| 13 | id: 'xos-rest-gw' |
Kailash Khalasi | 0f528d8 | 2018-05-17 18:39:28 -0700 | [diff] [blame] | 14 | name: 'xos-rest-gw' |
| 15 | |
| 16 | description: | |
| 17 | <!-- Managed by Jenkins Job Builder --> |
| 18 | Created by {id} job-template from ci-management/jjb/xos-rest-gw.yaml <br /><br /> |
| 19 | Test for the XOS Rest Gateway that combine REST APIs and WebSocket |
| 20 | |
Kailash Khalasi | 0f528d8 | 2018-05-17 18:39:28 -0700 | [diff] [blame] | 21 | properties: |
| 22 | - cord-infra-properties: |
| 23 | build-days-to-keep: '{build-days-to-keep}' |
| 24 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 25 | |
| 26 | # `npm install` can take >10m depending on connectivity |
| 27 | wrappers: |
| 28 | - lf-infra-wrappers: |
| 29 | build-timeout: 20 |
| 30 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 31 | |
| 32 | node: 'ubuntu16.04-basebuild-1c-2g' |
| 33 | project-type: freestyle |
| 34 | concurrent: true |
| 35 | |
Kailash Khalasi | 4d2e5d6 | 2018-05-21 10:01:05 -0700 | [diff] [blame] | 36 | triggers: |
| 37 | - cord-infra-gerrit-trigger-patchset: |
| 38 | gerrit-server-name: '{gerrit-server-name}' |
| 39 | project-regexp: '^xos-rest-gw' |
| 40 | branch-regexp: '{supported-branches-regexp}' |
| 41 | dependency-jobs: '{dependency-jobs}' |
| 42 | file-include-regexp: '{all-files-regexp}' |
| 43 | |
Kailash Khalasi | 0f528d8 | 2018-05-17 18:39:28 -0700 | [diff] [blame] | 44 | builders: |
| 45 | - shell: | |
| 46 | #/usr/bin/env bash |
| 47 | npm install |
| 48 | npm test |