forked from gluster/centosci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-rpms.yml
60 lines (55 loc) · 1.67 KB
/
build-rpms.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
- job:
name: gluster_build-rpms
node: gluster
description: Build RPMs.
project-type: freestyle
concurrent: true
scm:
- git:
url: https://github.com/gluster/centosci.git
branches:
- origin/master
builders:
- shell: !include-raw: scripts/common/get-node.sh
- shell: !include-raw: scripts/common/rsync.sh
- shell: scripts/common/bootstrap.sh $WORKSPACE/scripts/nightly-builds/nightly-builds.sh "GERRIT_BRANCH=$GERRIT_BRANCH CENTOS_VERSION=$CENTOS_VERSION CENTOS_ARCH=$CENTOS_ARCH"
parameters:
- choice:
choices:
- master
- release-3.12
- release-3.10
- release-4.0
description: Gluster branch to build RPMs
name: GERRIT_BRANCH
- choice:
choices:
- '7'
- '6'
description: CentOS version to build the RPMs
name: CENTOS_VERSION
- choice:
choices:
- x86_64
- i386
description: CentOS architecture to build the RPMs
name: CENTOS_ARCH
properties:
- build-discarder:
days-to-keep: 7
publishers:
- email-ext:
attach-build-log: false
attachment: null
body: $DEFAULT_CONTENT
content-type: text
presend-script: $DEFAULT_PRESEND_SCRIPT
recipients: $DEFAULT_RECIPIENTS
reply-to: $DEFAULT_REPLYTO
subject: $DEFAULT_SUBJECT ($GERRIT_BRANCH on CentOS-$CENTOS_VERSION/$CENTOS_ARCH)
- post-tasks:
- matches:
# "Building remotely" should always be in the build console output
- log-text: Building remotely
script:
!include-raw: scripts/common/return-node.sh