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'
16 maven-version: 'mvn33'
17 - opendaylight-infra-parameters:
20 refspec: 'refs/heads/{branch}'
21 artifacts: '{archive-artifacts}'
22 - autorelease-release-tag:
23 release-tag: '{next-release-tag}'
24 - autorelease-release-branch:
25 release-branch: '{branch}'
29 credentials-id: 'opendaylight-jenkins-ssh'
40 - opendaylight-infra-wrappers:
47 # force jenkins install of maven version before any shell scripts use it
49 maven-version: 'mvn33'
51 settings: 'autorelease-settings'
53 global-settings: 'odl-global-settings'
54 global-settings-type: cfp
55 - wipe-local-maven-repo
56 - jacoco-nojava-workaround
57 - shell: "./scripts/list-project-dependencies.sh"
59 autorelease-settings: 'autorelease-settings'
60 odl-global-settings: 'odl-global-settings'
61 - autorelease-generate-taglist
62 - autorelease-distribute-taglist
63 - autorelease-generate-release-patches
65 maven-version: 'mvn33'
67 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'
69 - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
70 settings: 'autorelease-settings'
72 global-settings: 'odl-global-settings'
73 global-settings-type: cfp
74 - autorelease-maven-deploy
75 - autorelease-get-integration-test-variables
76 - autorelease-maven-sources:
77 maven-version: 'mvn33'
78 settings: 'autorelease-settings'
79 global-settings: 'odl-global-settings'
80 - autorelease-maven-sources-post-process
81 - autorelease-sys-stats
88 email-recipients: '{email-recipients}'
89 email-prefix: '[autorelease]'
90 - trigger-parameterized-builds:
91 - project: 'integration-distribution-test-{integration-test}'
92 condition: UNSTABLE_OR_BETTER
93 property-file: variables.jenkins-trigger
95 - opendaylight-infra-shiplogs:
96 maven-version: 'mvn33'
99 name: 'autorelease-project-report-{stream}'
101 project-type: freestyle
102 node: centos7-java-builder-2c-8g
105 daysToKeep: '{build-days-to-keep}'
106 numToKeep: '{build-num-to-keep}'
107 artifactDaysToKeep: '{build-artifact-days-to-keep}'
108 artifactNumToKeep: '{build-artifact-num-to-keep}'
111 - opendaylight-infra-parameters:
114 refspec: 'refs/heads/{branch}'
115 artifacts: '{archive-artifacts}'
118 default: '$WORKSPACE/project-reports'
119 description: "The directory containing project reports"
123 credentials-id: 'opendaylight-jenkins-ssh'
133 - opendaylight-infra-wrappers:
140 - shell: 'echo "DATE=`date +%Y-%m-%d`" > $WORKSPACE/variables.prop'
142 properties-file: variables.prop
143 - autorelease-generate-project-report
144 - shell: "./scripts/list-project-dependencies.sh"
145 - autorelease-sys-stats
149 attachments: 'project-reports/*.log'
150 recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
151 reply-to: dev@lists.opendaylight.org
152 content-type: default
153 subject: '[releng] ODL {stream} project report for ${{ENV, var="DATE"}}'
155 This is a project report generated on $DATE listing the commit
156 history of ODL projects for the past week. See attached
158 Archive also available on Jenkins at $BUILD_URL
160 - opendaylight-infra-shiplogs:
161 maven-version: 'mvn33'