blob: ad3cadcc2d7617e97154d903f7ab4bee6cb5a6a7 [file] [log] [blame]
Kailash Khalasi0f528d82018-05-17 18:39:28 -07001---
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 Khalasi4d2e5d62018-05-21 10:01:05 -070012- job-template:
13 id: 'xos-rest-gw'
Kailash Khalasi0f528d82018-05-17 18:39:28 -070014 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 Khalasi0f528d82018-05-17 18:39:28 -070021 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 Khalasi4d2e5d62018-05-21 10:01:05 -070036 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 Khalasi0f528d82018-05-17 18:39:28 -070044 builders:
45 - shell: |
46 #/usr/bin/env bash
47 npm install
48 npm test