forked from gluster/centosci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglusto.yml
68 lines (59 loc) · 1.8 KB
/
glusto.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
- job:
name: gluster_glusto
node: gluster
description: Run the functional tests from glusto-tests
project-type: freestyle
concurrent: true
parameters:
- string:
default: '9'
description: Number of nodes for this test
name: NODE_COUNT
- bool:
default: True
description: Exit on first failure
name: EXIT_ON_FAIL
- string:
default: 'master'
description: Gerrit ref for Glusto. For 12345/6 use 45/12345/6. Two fixed names you can use - stable and master.
name: GERRIT_REF
- string:
default: 'bvt'
description: Gerrit ref for Glusto. For 12345/6 use 45/12345/6. Two fixed names you can use - stable and master.
name: GLUSTO_MODULE
properties:
- build-discarder:
days-to-keep: 7
artifact-days-to-keep: 7
scm:
- git:
url: https://github.com/gluster/centosci.git
branches:
- origin/master
builders:
- shell: !include-raw: scripts/common/get-node-to-ansible.sh
- shell: !include-raw: scripts/glusto/run-glusto-main.sh
- shell: !include-raw: scripts/glusto/get-glusto-logs.sh
publishers:
- archive:
artifacts: 'glustomain.log'
allow-empty: true
- archive:
artifacts: 'gluster-logs.gz'
allow-empty: true
- junit:
results: '*junit.xml'
- post-tasks:
- matches:
- log-text: Build was aborted
script:
!include-raw: scripts/glusto/get-glusto-logs.sh
- matches:
# "Building remotely" should always be in the build console output
- log-text: Building remotely
script:
!include-raw: scripts/common/return-node.sh
wrappers:
- ansicolor:
colormap: xterm
- timestamps