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 - trigger-parameterized-builds:
108 - project: 'integration-distribution-test-{integration-test}'
109 condition: UNSTABLE_OR_BETTER
110 property-file: variables.jenkins-trigger
111 fail-on-missing: true
112 - project: 'packaging-build-rpm-master'
113 condition: UNSTABLE_OR_BETTER
114 predefined-parameters: DOWNLOAD_URL=$BUNDLEURL
115 property-file: variables.jenkins-trigger
116 fail-on-missing: true
117 - opendaylight-infra-shiplogs:
118 maven-version: 'mvn33'