1 # Autorelease build jobs
4 name: 'autorelease-release-{stream}'
6 project-type: freestyle
7 node: centos7-autorelease-4c-16g
11 - opendaylight-infra-properties:
12 build-days-to-keep: '30'
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'
31 refspec: '$GERRIT_REFSPEC'
34 choosing-strategy: 'gerrit'
41 - opendaylight-infra-wrappers:
48 # force jenkins install of maven version before any shell scripts use it
50 maven-version: 'mvn33'
52 settings: 'autorelease-settings'
54 global-settings: 'odl-global-settings'
55 global-settings-type: cfp
56 - wipe-local-maven-repo
57 - jacoco-nojava-workaround
58 - shell: "./scripts/list-project-dependencies.sh"
59 - autorelease-determine-merge-order
61 autorelease-settings: 'autorelease-settings'
62 odl-global-settings: 'odl-global-settings'
63 - autorelease-generate-taglist
64 - autorelease-distribute-taglist
65 - distribute-build-url:
66 path: 'integration/distribution/distribution-karaf/src/main/assembly'
67 - autorelease-generate-release-patches
68 # In a perfect world projects should be releasing separately and we consume them
69 # via a project that pulls the release bits from each project from Nexus.
70 # Keep the patches compatible with that ideal, but apply an edit
71 # to enable building in a single maven reactor afterwards.
72 - autorelease-fix-relative-paths
74 maven-version: 'mvn33'
76 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'
78 - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
79 settings: 'autorelease-settings'
81 global-settings: 'odl-global-settings'
82 global-settings-type: cfp
83 - autorelease-maven-deploy
84 - autorelease-get-integration-test-variables
85 - autorelease-maven-sources:
86 maven-version: 'mvn33'
87 settings: 'autorelease-settings'
88 global-settings: 'odl-global-settings'
89 - autorelease-maven-sources-post-process
90 - autorelease-sys-stats
97 artifacts: 'dependencies.log'
99 email-recipients: '{email-recipients}'
100 email-prefix: '[autorelease]'
101 - trigger-parameterized-builds:
102 - project: 'integration-distribution-test-{integration-test}'
103 condition: UNSTABLE_OR_BETTER
104 property-file: variables.jenkins-trigger
105 fail-on-missing: true
106 - project: 'packaging-build-rpm-master'
107 condition: UNSTABLE_OR_BETTER
108 predefined-parameters: DOWNLOAD_URL=$BUNDLEURL
109 property-file: variables.jenkins-trigger
110 fail-on-missing: true
111 - opendaylight-infra-shiplogs:
112 maven-version: 'mvn33'
115 name: 'autorelease-project-report-{stream}'
117 project-type: freestyle
118 node: centos7-java-builder-2c-8g
121 - opendaylight-infra-properties:
122 build-days-to-keep: '{build-days-to-keep}'
125 - opendaylight-infra-parameters:
128 refspec: 'refs/heads/{branch}'
129 artifacts: '{archive-artifacts}'
132 default: '$WORKSPACE/project-reports'
133 description: "The directory containing project reports"
137 credentials-id: 'opendaylight-jenkins-ssh'
139 refspec: '$GERRIT_REFSPEC'
142 choosing-strategy: 'gerrit'
148 - opendaylight-infra-wrappers:
155 - shell: 'echo "DATE=`date +%Y-%m-%d`" > $WORKSPACE/variables.prop'
157 properties-file: variables.prop
158 - autorelease-generate-project-report
159 - shell: "./scripts/list-project-dependencies.sh"
160 - autorelease-determine-merge-order
161 - autorelease-sys-stats
165 attachments: 'project-reports/*.log'
166 recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
167 reply-to: dev@lists.opendaylight.org
168 content-type: default
169 subject: '[releng] ODL {stream} project report for ${{ENV, var="DATE"}}'
171 This is a project report generated on $DATE listing the commit
172 history of ODL projects for the past week. See attached
174 Archive also available on Jenkins at $BUILD_URL
176 - opendaylight-infra-shiplogs:
177 maven-version: 'mvn33'