1 # Autorelease build jobs
4 name: 'autorelease-release-{stream}'
6 project-type: freestyle
7 node: centos7-autorelease-4c-16g
11 daysToKeep: '{build-days-to-keep}'
12 artifactDaysToKeep: '14'
15 - opendaylight-infra-parameters:
18 refspec: 'refs/heads/{branch}'
19 artifacts: '{archive-artifacts}'
20 - autorelease-release-tag:
21 release-tag: '{next-release-tag}'
22 - autorelease-release-branch:
23 release-branch: '{branch}'
27 credentials-id: 'opendaylight-jenkins-ssh'
38 - opendaylight-infra-wrappers:
45 - wipe-local-maven-repo
46 - jacoco-nojava-workaround
47 - shell: "./scripts/list-project-dependencies.sh"
49 autorelease-settings: 'autorelease-settings'
50 odl-global-settings: 'odl-global-settings'
51 - autorelease-generate-taglist
52 - autorelease-distribute-taglist
53 - autorelease-generate-release-patches
55 maven-version: '{mvn33}'
57 goals: 'clean deploy -V -B -Pintegrationtests,docs,repoBuild -Djenkins -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage'
59 - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
60 settings: 'autorelease-settings'
62 global-settings: 'odl-global-settings'
63 global-settings-type: cfp
64 - autorelease-maven-deploy
65 - autorelease-get-integration-test-variables
66 - autorelease-maven-sources:
67 maven-version: '{mvn33}'
68 settings: 'autorelease-settings'
69 global-settings: 'odl-global-settings'
70 - autorelease-maven-sources-post-process
71 - autorelease-sys-stats
78 email-prefix: '[autorelease]'
79 - trigger-parameterized-builds:
80 - project: 'integration-distribution-test-{integration-test}'
81 condition: UNSTABLE_OR_BETTER
82 property-file: variables.prop
84 - opendaylight-infra-shiplogs:
85 maven-version: '{mvn33}'
88 name: 'autorelease-project-report-{stream}'
90 project-type: freestyle
91 node: centos7-java-builder-2c-8g
94 daysToKeep: '{build-days-to-keep}'
95 numToKeep: '{build-num-to-keep}'
96 artifactDaysToKeep: '{build-artifact-days-to-keep}'
97 artifactNumToKeep: '{build-artifact-num-to-keep}'
100 - opendaylight-infra-parameters:
103 refspec: 'refs/heads/{branch}'
104 artifacts: '{archive-artifacts}'
107 default: '$WORKSPACE/project-reports'
108 description: "The directory containing project reports"
112 credentials-id: 'opendaylight-jenkins-ssh'
122 - opendaylight-infra-wrappers:
129 - shell: 'echo "DATE=`date +%Y-%m-%d`" > $WORKSPACE/variables.prop'
131 properties-file: variables.prop
132 - autorelease-generate-project-report
133 - shell: "./scripts/list-project-dependencies.sh"
134 - autorelease-sys-stats
138 attachments: 'project-reports/*.log'
139 recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
140 reply-to: dev@lists.opendaylight.org
141 content-type: default
142 subject: '[releng] ODL {stream} project report for ${{ENV, var="DATE"}}'
144 This is a project report generated on $DATE listing the commit
145 history of ODL projects for the past week. See attached
148 Archive also available on Jenkins at $BUILD_URL
150 - opendaylight-infra-shiplogs:
151 maven-version: '{mvn33}'
158 name: 'autorelease-site-publish-{stream}'
159 node: centos7-java-builder-2c-8g
163 # This job's purpose is to publish maven site
170 artifactDaysToKeep: -1
171 artifactNumToKeep: -1
174 - opendaylight-infra-parameters:
177 refspec: 'refs/heads/{branch}'
178 artifacts: '{archive-artifacts}'
181 - gerrit-trigger-scm:
183 choosing-strategy: 'default'
186 - opendaylight-infra-wrappers:
187 build-timeout: '{build-timeout}'
190 - autorelease-trigger-patch-site-merged:
195 maven-name: '{mvn33}'
197 goals: 'site:site site:deploy -Dstream={stream}'
198 maven-opts: '-Xmx1024m'
199 settings: 'autorelease-settings'
201 global-settings: 'odl-global-settings'
202 global-settings-type: cfp
205 - email-notification:
206 email-prefix: '[releng]'
209 name: 'autorelease-site-verify-{stream}'
210 node: centos7-java-builder-2c-8g
214 # This job's purpose is to verify maven site configuration
221 artifactDaysToKeep: -1
222 artifactNumToKeep: -1
225 - opendaylight-infra-parameters:
228 refspec: 'refs/heads/{branch}'
229 artifacts: '{archive-artifacts}'
232 - gerrit-trigger-scm:
233 refspec: '$GERRIT_REFSPEC'
234 choosing-strategy: 'gerrit'
237 - opendaylight-infra-wrappers:
238 build-timeout: '{build-timeout}'
241 - autorelease-trigger-patch-site-submitted:
246 maven-name: '{mvn33}'
248 goals: 'site:site -Dstream={stream}'
249 maven-opts: '-Xmx1024m'
250 settings: 'autorelease-settings'
252 global-settings: 'odl-global-settings'
253 global-settings-type: cfp
256 - email-notification:
257 email-prefix: '[releng]'