11 - 'distribution-merge-{stream}'
13 trigger-with-no-params: true
15 - gerrit-maven-release
17 - gerrit-maven-verify-dependencies:
21 name: '{project-name}-integration-{stream}'
23 ######################
24 # Default parameters #
25 ######################
27 mvn-goals: clean install
33 project-type: freestyle
38 - opendaylight-infra-properties:
39 build-days-to-keep: '{build-days-to-keep}'
42 - opendaylight-infra-parameters:
43 os-cloud: '{os-cloud}'
46 refspec: 'refs/heads/{branch}'
47 artifacts: '{archive-artifacts}'
55 - opendaylight-infra-wrappers:
56 build-timeout: '{build-timeout}'
60 jobs: '{dependencies}'
64 - jacoco-nojava-workaround
65 - provide-maven-settings:
66 global-settings-file: 'global-settings'
67 settings-file: '{mvn-settings}'
69 maven-version: 'mvn33'
72 {opendaylight-infra-mvn-opts}
75 settings: '{mvn-settings}'
77 global-settings: 'global-settings'
78 global-settings-type: cfp
82 email-recipients: '{email-recipients}'
83 email-prefix: '{email-upstream}'
89 name: '{project-name}-merge-{stream}'
91 # Need to keep jobs that deploy to Nexus at end of build as Maven
92 # projects. Maybe reconsider this once upstream moves deploy to a
94 # https://issues.apache.org/jira/browse/MNG-5666
100 - opendaylight-infra-properties:
101 build-days-to-keep: 14
104 - opendaylight-infra-parameters:
105 os-cloud: '{os-cloud}'
108 refspec: 'refs/heads/{branch}'
109 artifacts: '{archive-artifacts}'
113 description: "String representing release name"
116 - gerrit-trigger-scm:
118 choosing-strategy: 'default'
121 - opendaylight-infra-wrappers:
122 build-timeout: '{build-timeout}'
126 - gerrit-trigger-patch-merged:
127 gerrit-server-name: '{gerrit-server-name}'
132 - jacoco-nojava-workaround
133 - provide-maven-settings:
134 global-settings-file: 'global-settings'
135 settings-file: '{mvn-settings}'
137 # TODO: Do we want to apply sophisticated checks as in *-distribution-check-*?
144 {opendaylight-infra-mvn-opts}
145 maven-opts: '{mvn-opts}'
146 settings: '{mvn-settings}'
148 global-settings: 'global-settings'
149 global-settings-type: cfp
150 post-step-run-condition: UNSTABLE
154 condition-kind: file-exists
155 condition-filename: deploy-site.xml
156 condition-basedir: workspace
158 # The strategy here is intentional to run Maven site:deploy twice
159 # once using regular pom.xml to produce a staged-site which is
160 # then used by deploy-site.xml to push to Nexus. This is a
161 # workaround to Maven Site's default linking code which creates
162 # incorrect URLs for sites due to auto-detection assuming your
163 # project is configured in a certain way which ODL is not.
166 maven-version: 'mvn33'
168 goals: 'site:deploy -V -B -Dstream={stream}'
171 settings: '{mvn-settings}'
173 global-settings: 'global-settings'
174 global-settings-type: cfp
175 - opendaylight-infra-deploy-maven-site:
176 settings-file: '{mvn-settings}'
182 - email-notification:
183 email-recipients: '{email-recipients}'
184 email-prefix: '[{project-name}]'
188 deploy-unstable: false
192 project: 'distribution-merge-{stream}'