source: /cluster/svnroot/bccd-ng/branches/skylar/bccd-3.4.0-build_ng/jenkins/job_builder.yml @ 6094

Last change on this file since 6094 was 6094, checked in by skylar, 2 years ago

simplify SCM naming re #1013

  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1# $Id: job_builder.yml 6094 2018-10-21 23:46:50Z skylar $
2
3---
4
5- scm:
6    name: 'BCCD-v3.4.0_build-ng-skylar'
7    scm:
8      - svn:
9          url: 'https://cluster.earlham.edu/svn/bccd-ng/branches/skylar/bccd-3.4.0-build_ng'
10          workspaceupdater: 'wipeworkspace'
11
12- scm:
13    name: 'BCCD-v3.4.0_build-ng-prod'
14    scm:
15      - svn:
16          url: 'https://cluster.earlham.edu/svn/bccd-ng/tags/bccd-3.4.0-build_ng'
17          workspaceupdater: 'wipeworkspace'
18
19- defaults:
20    arch: amd64
21    name: bccd
22    logrotate:
23      daysToKeep: -1
24      numToKeep: 3
25      artifactDaysToKeep: -1
26      artifactNumToKeep: -1
27
28- job-template:
29    defaults: 'bccd'
30    name: 'BCCD-{name}-build_ng-{version}-{arch}-debootstrap'
31    scm:
32      - 'BCCD-v3.4.0_build-ng-{name}'
33    builders:
34      - shell: |
35          make target/debootstrap.tar.bz2
36          umount "${{WORKSPACE}}"/debootstrap/proc
37    publishers:
38      - archive:
39          artifacts: 'target/debootstrap.tar.bz2'
40      - trigger:
41          project: 'BCCD-{name}-build_ng-{version}-{arch}-debootstrap-bccd'
42
43- job-template:
44    name: 'BCCD-{name}-build_ng-{version}-{arch}-debootstrap-bccd'
45    defaults: 'bccd'
46    scm:
47      - 'BCCD-v3.4.0_build-ng-{name}'
48    builders:
49      - copyartifact:
50          project: 'BCCD-{name}-build_ng-{version}-{arch}-fpm'
51          filter: 'target/bccd.noarch.deb'
52      - copyartifact:
53          project: 'BCCD-{name}-build_ng-{version}-{arch}-debootstrap'
54          filter: 'target/debootstrap.tar.bz2'
55      - shell: |
56          make target/debootstrap-bccd.tar.bz2
57    publishers:
58      - archive:
59          artifacts: 'target/debootstrap-bccd.tar.bz2'
60      - trigger:
61          project: 'BCCD-{name}-build_ng-{version}-{arch}-iso'
62
63- job-template:
64    name: 'BCCD-{name}-build_ng-{version}-{arch}-iso'
65    defaults: 'bccd'
66    scm:
67      - 'BCCD-v3.4.0_build-ng-{name}'
68    builders:
69      - copyartifact:
70          project: 'BCCD-{name}-build_ng-{version}-{arch}-debootstrap-bccd'
71          filter: 'target/debootstrap-bccd.tar.bz2'
72      - copyartifact:
73          project: 'BCCD-{name}-build_ng-{version}-{arch}-fpm'
74          filter: 'target/bccd.noarch.deb'
75      - shell: |
76          make install-iso ISO_INSTALL_DIR={install-dir}
77
78- job-template:
79    name: 'BCCD-{name}-build_ng-{version}-{arch}-fpm'
80    defaults: 'bccd'
81    scm:
82      - 'BCCD-v3.4.0_build-ng-{name}'
83    builders:
84      - shell: |
85          make target/bccd.noarch.deb
86    publishers:
87      - trigger:
88          project: 'BCCD-{name}-build_ng-{version}-{arch}-debootstrap-bccd'
89      - archive:
90          artifacts: 'target/*'
91      - archive:
92          artifacts: 'build/etc/bccd-revision'
93
94- project:
95    name: 'skylar'
96    install-dir: '/cluster/bccd-ng/testing/{name}'
97    version: '3.4.0'
98    jobs:
99      - 'BCCD-{name}-build_ng-{version}-{arch}-debootstrap'
100      - 'BCCD-{name}-build_ng-{version}-{arch}-debootstrap-bccd'
101      - 'BCCD-{name}-build_ng-{version}-{arch}-iso'
102      - 'BCCD-{name}-build_ng-{version}-{arch}-fpm'
103
104- project:
105    name: 'prod'
106    install-dir: '/cluster/bccd-ng/testing/{name}'
107    version: '3.4.0'
108    jobs:
109      - 'BCCD-{name}-build_ng-{version}-{arch}-debootstrap'
110      - 'BCCD-{name}-build_ng-{version}-{arch}-debootstrap-bccd'
111      - 'BCCD-{name}-build_ng-{version}-{arch}-iso'
112      - 'BCCD-{name}-build_ng-{version}-{arch}-fpm'
Note: See TracBrowser for help on using the repository browser.