2 # Autorelease build jobs
4 name: 'autorelease-release-{stream}'
6 project-type: freestyle
7 node: centos7-autorelease-4c-16g
15 artifact-num-to-keep: 1
16 # Make sure we only archive the last artifact until we figure out why
17 # autorelease carbon is not generating a staging repo.
18 # - opendaylight-infra-properties:
19 # build-days-to-keep: '30'
23 maven-version: 'mvn33'
24 - opendaylight-infra-parameters:
25 os-cloud: '{os-cloud}'
28 refspec: 'refs/heads/{branch}'
29 artifacts: '{archive-artifacts}'
30 - distribution-karaf-version:
31 karaf-version: '{karaf-version}'
32 - autorelease-release-tag:
33 release-tag: '{next-release-tag}'
34 - autorelease-release-branch:
35 release-branch: '{branch}'
39 credentials-id: 'opendaylight-jenkins-ssh'
41 refspec: '$GERRIT_REFSPEC'
44 choosing-strategy: 'gerrit'
51 - opendaylight-infra-wrappers:
58 # force jenkins install of maven version before any shell scripts use it
60 maven-version: 'mvn33'
62 settings: 'autorelease-settings'
64 global-settings: 'odl-global-settings'
65 global-settings-type: cfp
66 - wipe-local-maven-repo
67 - jacoco-nojava-workaround
68 - shell: "./scripts/list-project-dependencies.sh"
69 - autorelease-determine-merge-order
71 autorelease-settings: 'autorelease-settings'
72 odl-global-settings: 'odl-global-settings'
73 - autorelease-generate-taglist
74 - autorelease-distribute-taglist
75 - distribute-build-url:
76 path: 'integration/distribution/$KARAF_ARTIFACT/src/main/assembly'
77 - autorelease-generate-release-patches
78 # In a perfect world projects should be releasing separately and we consume them
79 # via a project that pulls the release bits from each project from Nexus.
80 # Keep the patches compatible with that ideal, but apply an edit
81 # to enable building in a single maven reactor afterwards.
82 - autorelease-fix-relative-paths
84 maven-version: 'mvn33'
88 -Pintegrationtests,docs,repoBuild
89 -Dcheckstyle.skip=true
90 -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
91 {opendaylight-infra-mvn-opts}
93 - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
94 settings: 'autorelease-settings'
96 global-settings: 'odl-global-settings'
97 global-settings-type: cfp
98 - autorelease-maven-deploy
99 - autorelease-get-integration-test-variables
100 - autorelease-maven-sources:
101 opendaylight-infra-mvn-opts: '{opendaylight-infra-mvn-opts}'
102 maven-version: 'mvn33'
103 settings: 'autorelease-settings'
104 global-settings: 'odl-global-settings'
105 - autorelease-maven-sources-post-process
111 - opendaylight-infra-notify-status
112 - opendaylight-infra-sysstats
114 # Need to archive dependencies.log in Jenkins to provide a simple
115 # way for downstream jobs to pull the latest version of this file
117 # TODO stop archiving **/*.zip once we figure out why artifacts are
118 # not deploying to Nexus
119 artifacts: 'dependencies.log, **/*.zip, /var/log/sa/*'
120 - trigger-parameterized-builds:
121 - project: 'autorelease-generate-release-notes-{stream}'
122 condition: UNSTABLE_OR_BETTER
123 property-file: variables.jenkins-trigger
124 fail-on-missing: true
125 - project: 'integration-distribution-test-{integration-test}'
126 condition: UNSTABLE_OR_BETTER
127 property-file: variables.jenkins-trigger
128 fail-on-missing: true
129 - project: 'integration-distribution-test-{integration-test}'
131 - project: 'integration-sanity-test-{integration-test}'
132 condition: UNSTABLE_OR_BETTER
133 property-file: variables.jenkins-trigger
134 fail-on-missing: true
135 - project: 'integration-sanity-test-{integration-test}'
137 - project: 'packaging-build-rpm-master'
138 condition: UNSTABLE_OR_BETTER
139 predefined-parameters: DOWNLOAD_URL=$BUNDLE_URL
140 property-file: variables.jenkins-trigger
141 fail-on-missing: true
142 - opendaylight-infra-shiplogs:
143 maven-version: 'mvn33'
147 name: 'autorelease-generate-release-notes-{stream}'
149 project-type: freestyle
150 node: centos7-java-builder-2c-8g
153 - opendaylight-infra-properties:
154 build-days-to-keep: '{build-days-to-keep}'
157 - opendaylight-infra-parameters:
158 os-cloud: '{os-cloud}'
161 refspec: 'refs/heads/{branch}'
162 artifacts: '{archive-artifacts}'
166 credentials-id: 'opendaylight-jenkins-ssh'
168 refspec: '$GERRIT_REFSPEC'
171 choosing-strategy: 'gerrit'
177 - opendaylight-infra-wrappers:
184 # force jenkins install of maven version before any shell scripts use it
186 maven-version: 'mvn33'
188 settings: 'autorelease-settings'
190 global-settings: 'odl-global-settings'
191 global-settings-type: cfp
193 maven-version: 'mvn33'
194 pom: '$WORKSPACE/scripts/release_notes_management/pom.xml'
197 -Dcheckstyle.skip=true
198 -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
199 {opendaylight-infra-mvn-opts}
201 - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
202 settings: 'autorelease-settings'
204 global-settings: 'odl-global-settings'
205 global-settings-type: cfp
206 - autorelease-generate-release-notes
209 - opendaylight-infra-sysstats
211 artifacts: 'scripts/release_notes_management/projects/release-notes.rst, /var/log/sa/*'
212 - opendaylight-infra-shiplogs:
213 maven-version: 'mvn33'