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:
19 os-cloud: '{os-cloud}'
22 refspec: 'refs/heads/{branch}'
23 artifacts: '{archive-artifacts}'
24 - autorelease-release-tag:
25 release-tag: '{next-release-tag}'
26 - autorelease-release-branch:
27 release-branch: '{branch}'
31 credentials-id: 'opendaylight-jenkins-ssh'
33 refspec: '$GERRIT_REFSPEC'
36 choosing-strategy: 'gerrit'
43 - opendaylight-infra-wrappers:
50 # force jenkins install of maven version before any shell scripts use it
52 maven-version: 'mvn33'
54 settings: 'autorelease-settings'
56 global-settings: 'odl-global-settings'
57 global-settings-type: cfp
58 - wipe-local-maven-repo
59 - jacoco-nojava-workaround
60 - shell: "./scripts/list-project-dependencies.sh"
61 - autorelease-determine-merge-order
63 autorelease-settings: 'autorelease-settings'
64 odl-global-settings: 'odl-global-settings'
65 - autorelease-generate-taglist
66 - autorelease-distribute-taglist
67 - distribute-build-url:
68 path: 'integration/distribution/distribution-karaf/src/main/assembly'
69 - autorelease-generate-release-patches
70 # In a perfect world projects should be releasing separately and we consume them
71 # via a project that pulls the release bits from each project from Nexus.
72 # Keep the patches compatible with that ideal, but apply an edit
73 # to enable building in a single maven reactor afterwards.
74 - autorelease-fix-relative-paths
76 maven-version: 'mvn33'
79 clean deploy -V -B -Pintegrationtests,docs,repoBuild -Djenkins
80 -Dcheckstyle.skip=true
81 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
82 -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
84 - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
85 settings: 'autorelease-settings'
87 global-settings: 'odl-global-settings'
88 global-settings-type: cfp
89 - autorelease-maven-deploy
90 - autorelease-get-integration-test-variables
91 - autorelease-maven-sources:
92 maven-version: 'mvn33'
93 settings: 'autorelease-settings'
94 global-settings: 'odl-global-settings'
95 - autorelease-maven-sources-post-process
96 - autorelease-sys-stats
102 - opendaylight-infra-notify-status
104 # Need to archive dependencies.log in Jenkins to provide a simple
105 # way for downstream jobs to pull the latest version of this file
107 artifacts: 'dependencies.log'
108 - trigger-parameterized-builds:
109 - project: 'integration-distribution-test-{integration-test}'
110 condition: UNSTABLE_OR_BETTER
111 property-file: variables.jenkins-trigger
112 fail-on-missing: true
113 - project: 'packaging-build-rpm-master'
114 condition: UNSTABLE_OR_BETTER
115 predefined-parameters: DOWNLOAD_URL=$BUNDLEURL
116 property-file: variables.jenkins-trigger
117 fail-on-missing: true
118 - opendaylight-infra-shiplogs:
119 maven-version: 'mvn33'