1 # Autorelease build jobs
4 name: 'autorelease-release-{stream}'
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
58 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 maven-opts: '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
60 settings: 'autorelease-settings'
62 global-settings: 'odl-global-settings'
63 global-settings-type: cfp
64 automatic-archiving: true
65 post-step-run-condition: UNSTABLE
68 - autorelease-maven-deploy
69 - autorelease-get-integration-test-variables
70 - autorelease-maven-sources:
71 maven-version: '{mvn33}'
72 settings: 'autorelease-settings'
73 global-settings: 'odl-global-settings'
74 - autorelease-maven-sources-post-process
75 - autorelease-sys-stats
82 email-prefix: '[autorelease]'
83 - trigger-parameterized-builds:
84 - project: 'integration-distribution-test-{integration-test}'
85 condition: UNSTABLE_OR_BETTER
86 property-file: variables.prop
88 - opendaylight-infra-shiplogs:
89 maven-version: '{mvn33}'
92 name: 'autorelease-project-report-{stream}'
94 project-type: freestyle
95 node: centos7-java-builder-2c-8g
98 daysToKeep: '{build-days-to-keep}'
99 numToKeep: '{build-num-to-keep}'
100 artifactDaysToKeep: '{build-artifact-days-to-keep}'
101 artifactNumToKeep: '{build-artifact-num-to-keep}'
104 - opendaylight-infra-parameters:
107 refspec: 'refs/heads/{branch}'
108 artifacts: '{archive-artifacts}'
111 default: '$WORKSPACE/project-reports'
112 description: "The directory containing project reports"
116 credentials-id: 'opendaylight-jenkins-ssh'
126 - opendaylight-infra-wrappers:
133 - shell: 'echo "DATE=`date +%Y-%m-%d`" > $WORKSPACE/variables.prop'
135 properties-file: variables.prop
136 - autorelease-generate-project-report
137 - shell: "./scripts/list-project-dependencies.sh"
138 - autorelease-sys-stats
142 attachments: 'project-reports/*.log'
143 recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
144 reply-to: dev@lists.opendaylight.org
145 content-type: default
146 subject: '[releng] ODL {stream} project report for ${{ENV, var="DATE"}}'
148 This is a project report generated on $DATE listing the commit
149 history of ODL projects for the past week. See attached
152 Archive also available on Jenkins at $BUILD_URL
154 - opendaylight-infra-shiplogs:
155 maven-version: '{mvn33}'
162 name: 'autorelease-site-publish-{stream}'
163 node: centos7-java-builder-2c-8g
167 # This job's purpose is to publish maven site
174 artifactDaysToKeep: -1
175 artifactNumToKeep: -1
178 - opendaylight-infra-parameters:
181 refspec: 'refs/heads/{branch}'
182 artifacts: '{archive-artifacts}'
185 - gerrit-trigger-scm:
187 choosing-strategy: 'default'
190 - opendaylight-infra-wrappers:
191 build-timeout: '{build-timeout}'
194 - autorelease-trigger-patch-site-merged:
199 maven-name: '{mvn33}'
201 goals: 'site:site site:deploy -Dstream={stream}'
202 maven-opts: '-Xmx1024m'
203 settings: 'autorelease-settings'
205 global-settings: 'odl-global-settings'
206 global-settings-type: cfp
209 - email-notification:
210 email-prefix: '[releng]'
213 name: 'autorelease-site-verify-{stream}'
214 node: centos7-java-builder-2c-8g
218 # This job's purpose is to verify maven site configuration
225 artifactDaysToKeep: -1
226 artifactNumToKeep: -1
229 - opendaylight-infra-parameters:
232 refspec: 'refs/heads/{branch}'
233 artifacts: '{archive-artifacts}'
236 - gerrit-trigger-scm:
237 refspec: '$GERRIT_REFSPEC'
238 choosing-strategy: 'gerrit'
241 - opendaylight-infra-wrappers:
242 build-timeout: '{build-timeout}'
245 - autorelease-trigger-patch-site-submitted:
250 maven-name: '{mvn33}'
252 goals: 'site:site -Dstream={stream}'
253 maven-opts: '-Xmx1024m'
254 settings: 'autorelease-settings'
256 global-settings: 'odl-global-settings'
257 global-settings-type: cfp
260 - email-notification:
261 email-prefix: '[releng]'