2 # Autorelease build jobs
4 name: 'autorelease-release-{stream}'
6 project-type: freestyle
7 node: centos7-autorelease-4c-16g
12 - opendaylight-infra-properties:
13 build-days-to-keep: '30'
17 maven-version: 'mvn33'
18 - opendaylight-infra-parameters:
21 refspec: 'refs/heads/{branch}'
22 artifacts: '{archive-artifacts}'
23 - autorelease-release-tag:
24 release-tag: '{next-release-tag}'
25 - autorelease-release-branch:
26 release-branch: '{branch}'
30 credentials-id: 'opendaylight-jenkins-ssh'
32 refspec: '$GERRIT_REFSPEC'
35 choosing-strategy: 'gerrit'
42 - opendaylight-infra-wrappers:
49 # force jenkins install of maven version before any shell scripts use it
51 maven-version: 'mvn33'
53 settings: 'autorelease-settings'
55 global-settings: 'odl-global-settings'
56 global-settings-type: cfp
57 - wipe-local-maven-repo
58 - jacoco-nojava-workaround
59 - shell: "./scripts/list-project-dependencies.sh"
60 - autorelease-determine-merge-order
62 autorelease-settings: 'autorelease-settings'
63 odl-global-settings: 'odl-global-settings'
64 - autorelease-generate-taglist
65 - autorelease-distribute-taglist
66 - distribute-build-url:
67 path: 'integration/distribution/distribution-karaf/src/main/assembly'
68 - autorelease-generate-release-patches
69 # In a perfect world projects should be releasing separately and we consume them
70 # via a project that pulls the release bits from each project from Nexus.
71 # Keep the patches compatible with that ideal, but apply an edit
72 # to enable building in a single maven reactor afterwards.
73 - autorelease-fix-relative-paths
75 maven-version: 'mvn33'
78 clean deploy -V -B -Pintegrationtests,docs,repoBuild -Djenkins
79 -Dcheckstyle.skip=true
80 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
81 -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
83 - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
84 settings: 'autorelease-settings'
86 global-settings: 'odl-global-settings'
87 global-settings-type: cfp
88 - autorelease-maven-deploy
89 - autorelease-get-integration-test-variables
90 - autorelease-maven-sources:
91 maven-version: 'mvn33'
92 settings: 'autorelease-settings'
93 global-settings: 'odl-global-settings'
94 - autorelease-maven-sources-post-process
95 - autorelease-sys-stats
101 - opendaylight-infra-notify-status
103 # Need to archive dependencies.log in Jenkins to provide a simple
104 # way for downstream jobs to pull the latest version of this file
106 artifacts: 'dependencies.log'
107 - email-notification:
108 email-recipients: '{email-recipients}'
109 email-prefix: '[autorelease]'
110 - trigger-parameterized-builds:
111 - project: 'integration-distribution-test-{integration-test}'
112 condition: UNSTABLE_OR_BETTER
113 property-file: variables.jenkins-trigger
114 fail-on-missing: true
115 - project: 'packaging-build-rpm-master'
116 condition: UNSTABLE_OR_BETTER
117 predefined-parameters: DOWNLOAD_URL=$BUNDLEURL
118 property-file: variables.jenkins-trigger
119 fail-on-missing: true
120 - opendaylight-infra-shiplogs:
121 maven-version: 'mvn33'
125 name: 'autorelease-project-report-{stream}'
127 project-type: freestyle
128 node: centos7-java-builder-2c-8g
131 - opendaylight-infra-properties:
132 build-days-to-keep: '{build-days-to-keep}'
135 - opendaylight-infra-parameters:
138 refspec: 'refs/heads/{branch}'
139 artifacts: '{archive-artifacts}'
142 default: '$WORKSPACE/project-reports'
143 description: "The directory containing project reports"
147 credentials-id: 'opendaylight-jenkins-ssh'
149 refspec: '$GERRIT_REFSPEC'
152 choosing-strategy: 'gerrit'
158 - opendaylight-infra-wrappers:
165 - shell: 'echo "DATE=`date +%Y-%m-%d`" > $WORKSPACE/variables.prop'
167 properties-file: variables.prop
168 - autorelease-generate-project-report
169 - shell: "./scripts/list-project-dependencies.sh"
170 - autorelease-determine-merge-order
171 - autorelease-sys-stats
175 attachments: 'project-reports/*.log'
176 recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
177 reply-to: dev@lists.opendaylight.org
178 content-type: default
179 subject: '[releng] ODL {stream} project report for ${{ENV, var="DATE"}}'
181 This is a project report generated on $DATE listing the commit
182 history of ODL projects for the past week. See attached
184 Archive also available on Jenkins at $BUILD_URL
186 - opendaylight-infra-shiplogs:
187 maven-version: 'mvn33'