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