forked from plone/buildout.coredev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jenkins.plone.org.cfg
96 lines (88 loc) · 2.8 KB
/
jenkins.plone.org.cfg
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# ----------------------------------------------------------------------------
# BUILDOUT FOR JENKINS.PLONE.ORG
# ----------------------------------------------------------------------------
# Buildout to control (push, pull, trigger) Jenkins jobs on jenkins.plone.org.
#
# Create a jenkins.plone.org.auth.cfg file with your jenkins.plone.org
# credentials:
#
# [buildout]
# jenkins-username = chuck
# jenkins-password = norris
#
# Then run buildout with:
#
# $ bin/buildout -c jenkins.plone.org.cfg
#
# Now you can pull the three coredev jobs:
#
# $ bin/jenkins-job-pull
# $ bin/jenkins-job-test-pull
# $ bin/jenkins-job-code-analysis-pull
#
# Push new job configurations:
#
# $ bin/jenkins-job-push
# $ bin/jenkins-job-test-push
# $ bin/jenkins-job-code-analysis-push
#
# Trigger jobs:
#
# $ bin/jenkins-job-trigger
# $ bin/jenkins-job-test-trigger
# $ bin/jenkins-job-code-analysis-trigger
#
# See https://github.com/collective/collective.recipe.jenkinsjob for more
# details.
# ----------------------------------------------------------------------------
[buildout]
extends =
jenkins.plone.org.auth.cfg
versions.cfg
parts =
jenkins-job-plone-4.2
jenkins-job-plone-4.2-tests
jenkins-job-plone-4.2-test-coverage
jenkins-job-plone-4.2-code-analysis
jenkins-job-plone-4.2-ecosystem
jenkins-job-plone-4.2-pullall
# ----------------------------------------------------------------------------
# JENKINS REMOTE JOBS
# ----------------------------------------------------------------------------
[jenkins-job-plone-4.2]
recipe = collective.recipe.jenkinsjob
hostname = https://jenkins.plone.org
port = 80
username = ${buildout:jenkins-username}
password = ${buildout:jenkins-password}
jobname = plone-4.2
jobconfig = jenkins.plone.org/plone-4.2.xml
[jenkins-job-plone-4.2-tests]
recipe = collective.recipe.jenkinsjob
<= jenkins-job-plone-4.2
jobname = plone-4.2-tests
jobconfig = jenkins.plone.org/plone-4.2-tests.xml
[jenkins-job-plone-4.2-test-coverage]
recipe = collective.recipe.jenkinsjob
<= jenkins-job-plone-4.2
jobname = plone-4.2-test-coverage
jobconfig = jenkins.plone.org/plone-4.2-test-coverage.xml
[jenkins-job-plone-4.2-code-analysis]
<= jenkins-job-plone-4.2
jobname = plone-4.2-code-analysis
jobconfig = jenkins.plone.org/plone-4.2-code-analysis.xml
[jenkins-job-plone-4.2-ecosystem]
<= jenkins-job-plone-4.2
jobname = plone-4.2-ecosystem
jobconfig = jenkins.plone.org/plone-4.2-ecosystem.xml
[jenkins-job-plone-4.2-pullall]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
bin/jenkins-job-plone-4.2-pull
bin/jenkins-job-plone-4.2-tests-pull
bin/jenkins-job-plone-4.2-test-coverage-pull
bin/jenkins-job-plone-4.2-code-analysis-pull
bin/jenkins-job-plone-4.2-ecosystem-pull
output = ${buildout:directory}/bin/jenkins-job-plone-4.2-pullall
mode = 755