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-prefix: '[autorelease]'
89 - trigger-parameterized-builds:
90 - project: 'integration-distribution-test-{integration-test}'
91 condition: UNSTABLE_OR_BETTER
92 property-file: variables.prop
94 - opendaylight-infra-shiplogs:
95 maven-version: '{mvn33}'
98 name: 'autorelease-project-report-{stream}'
100 project-type: freestyle
101 node: centos7-java-builder-2c-8g
104 daysToKeep: '{build-days-to-keep}'
105 numToKeep: '{build-num-to-keep}'
106 artifactDaysToKeep: '{build-artifact-days-to-keep}'
107 artifactNumToKeep: '{build-artifact-num-to-keep}'
110 - opendaylight-infra-parameters:
113 refspec: 'refs/heads/{branch}'
114 artifacts: '{archive-artifacts}'
117 default: '$WORKSPACE/project-reports'
118 description: "The directory containing project reports"
122 credentials-id: 'opendaylight-jenkins-ssh'
132 - opendaylight-infra-wrappers:
139 - shell: 'echo "DATE=`date +%Y-%m-%d`" > $WORKSPACE/variables.prop'
141 properties-file: variables.prop
142 - autorelease-generate-project-report
143 - shell: "./scripts/list-project-dependencies.sh"
144 - autorelease-sys-stats
148 attachments: 'project-reports/*.log'
149 recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
150 reply-to: dev@lists.opendaylight.org
151 content-type: default
152 subject: '[releng] ODL {stream} project report for ${{ENV, var="DATE"}}'
154 This is a project report generated on $DATE listing the commit
155 history of ODL projects for the past week. See attached
157 Archive also available on Jenkins at $BUILD_URL
159 - opendaylight-infra-shiplogs:
160 maven-version: '{mvn33}'