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'
79 -Pintegrationtests,docs,repoBuild
80 -Dcheckstyle.skip=true
81 -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
82 {opendaylight-infra-mvn-opts}
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 opendaylight-infra-mvn-opts: '{opendaylight-infra-mvn-opts}'
93 maven-version: 'mvn33'
94 settings: 'autorelease-settings'
95 global-settings: 'odl-global-settings'
96 - autorelease-maven-sources-post-process
97 - autorelease-sys-stats
103 - opendaylight-infra-notify-status
105 # Need to archive dependencies.log in Jenkins to provide a simple
106 # way for downstream jobs to pull the latest version of this file
108 artifacts: 'dependencies.log'
109 - trigger-parameterized-builds:
110 - project: 'integration-distribution-test-{integration-test}'
111 condition: UNSTABLE_OR_BETTER
112 property-file: variables.jenkins-trigger
113 fail-on-missing: true
114 - project: 'packaging-build-rpm-master'
115 condition: UNSTABLE_OR_BETTER
116 predefined-parameters: DOWNLOAD_URL=$BUNDLEURL
117 property-file: variables.jenkins-trigger
118 fail-on-missing: true
119 - opendaylight-infra-shiplogs:
120 maven-version: 'mvn33'