1 # Autorelease build jobs
4 name: 'autorelease-release-{stream}'
7 node: dynamic_autorelease
11 daysToKeep: '{build-days-to-keep}'
12 artifactDaysToKeep: '14'
17 - autorelease-release-tag:
18 release-tag: '{next-release-tag}'
19 - autorelease-release-branch:
20 release-branch: '{branch}'
24 credentials-id: '{ssh-credentials}'
34 - autorelease-build-timeout
35 - ssh-agent-credentials:
43 - wipe-org-opendaylight-repo
44 - jacoco-nojava-workaround
46 autorelease-settings: '{autorelease-settings}'
47 odl-global-settings: '{odl-global-settings}'
48 - autorelease-generate-taglist
49 - autorelease-generate-release-patches
54 goals: 'clean deploy -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'
55 maven-opts: '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
56 settings: '{autorelease-settings}'
58 global-settings: '{odl-global-settings}'
59 global-settings-type: cfp
60 automatic-archiving: true
61 post-step-run-condition: UNSTABLE
64 - autorelease-maven-deploy
65 - shell: "./scripts/list-project-dependencies.sh"
66 - autorelease-get-integration-test-variables
67 - autorelease-maven-sources:
68 maven-version: '{mvn33}'
69 settings: '{autorelease-settings}'
70 global-settings: '{odl-global-settings}'
71 - autorelease-maven-sources-post-process
72 - autorelease-sys-stats
76 artifacts: '*.prop,*.log,patches/*.bundle,patches/*.patch,patches/*.log'
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
86 name: 'autorelease-project-report-{stream}'
88 project-type: freestyle
92 daysToKeep: '{build-days-to-keep}'
93 numToKeep: '{build-num-to-keep}'
94 artifactDaysToKeep: '{build-artifact-days-to-keep}'
95 artifactNumToKeep: '{build-artifact-num-to-keep}'
102 default: '$WORKSPACE/project-reports'
103 description: "The directory containing project reports"
107 credentials-id: '{ssh-credentials}'
121 - ssh-agent-credentials:
123 - '{ssh-credentials}'
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 artifacts: '*.log,project-reports/*.log'
140 attachments: 'project-reports/*.log'
141 recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
142 reply-to: dev@lists.opendaylight.org
143 content-type: default
144 subject: '[releng] ODL {stream} project report for ${{ENV, var="DATE"}}'
146 This is a project report generated on $DATE listing the commit
147 history of ODL projects for the past week. See attached
150 Archive also available on Jenkins at $BUILD_URL
158 name: 'autorelease-site-publish-{stream}'
163 # This job's purpose is to publish maven site
170 artifactDaysToKeep: -1
171 artifactNumToKeep: -1
179 refspec: 'refs/heads/{branch}'
182 - gerrit-trigger-scm:
183 credentials-id: '{ssh-credentials}'
185 choosing-strategy: 'default'
188 - ssh-agent-credentials:
190 - '{ssh-credentials}'
193 - autorelease-trigger-patch-site-merged:
198 maven-name: '{mvn33}'
200 goals: 'site:site site:deploy -Dstream={stream}'
201 maven-opts: '-Xmx1024m'
202 settings: '{autorelease-settings}'
204 global-settings: '{odl-global-settings}'
205 global-settings-type: cfp
208 - email-notification:
209 email-prefix: '[releng]'
212 name: 'autorelease-site-verify-{stream}'
217 # This job's purpose is to verify maven site configuration
224 artifactDaysToKeep: -1
225 artifactNumToKeep: -1
233 refspec: 'refs/heads/{branch}'
236 - gerrit-trigger-scm:
237 credentials-id: '{ssh-credentials}'
238 refspec: '$GERRIT_REFSPEC'
239 choosing-strategy: 'gerrit'
242 - ssh-agent-credentials:
244 - '{ssh-credentials}'
247 - autorelease-trigger-patch-site-submitted:
252 maven-name: '{mvn33}'
254 goals: 'site:site -Dstream={stream}'
255 maven-opts: '-Xmx1024m'
256 settings: '{autorelease-settings}'
258 global-settings: '{odl-global-settings}'
259 global-settings-type: cfp
262 - email-notification:
263 email-prefix: '[releng]'