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'
80 -Pintegrationtests,docs,repoBuild
81 -Dcheckstyle.skip=true
82 -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
83 {opendaylight-infra-mvn-opts}
85 - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
86 settings: 'autorelease-settings'
88 global-settings: 'odl-global-settings'
89 global-settings-type: cfp
90 - autorelease-maven-deploy
91 - autorelease-get-integration-test-variables
92 - autorelease-maven-sources:
93 opendaylight-infra-mvn-opts: '{opendaylight-infra-mvn-opts}'
94 maven-version: 'mvn33'
95 settings: 'autorelease-settings'
96 global-settings: 'odl-global-settings'
97 - autorelease-maven-sources-post-process
98 - autorelease-sys-stats
104 - opendaylight-infra-notify-status
106 # Need to archive dependencies.log in Jenkins to provide a simple
107 # way for downstream jobs to pull the latest version of this file
109 artifacts: 'dependencies.log'
110 - trigger-parameterized-builds:
111 - project: 'integration-distribution-test-{integration-test}'
112 condition: UNSTABLE_OR_BETTER
113 property-file: variables.jenkins-trigger
114 fail-on-missing: true
115 - project: 'integration-distribution-test-{integration-test}'
117 - project: 'packaging-build-rpm-master'
118 condition: UNSTABLE_OR_BETTER
119 predefined-parameters: DOWNLOAD_URL=$BUNDLEURL
120 property-file: variables.jenkins-trigger
121 fail-on-missing: true
122 - opendaylight-infra-shiplogs:
123 maven-version: 'mvn33'