8 # TODO: Figure out what's wrong with the gerrit-maven-merge job.
9 # - gerrit-maven-merge:
12 # - 'distribution-merge-{stream}'
14 # trigger-with-no-params: true
15 - '{project-name}-merge-{stream}':
17 mvn-goals: clean install -V -Dmaven.compile.fork=true -Dintegrationtests -Dvtn.build.jobs=2
19 - gerrit-maven-release
21 - gerrit-maven-verify-dependencies:
25 name: '{project-name}-integration-{stream}'
27 ######################
28 # Default parameters #
29 ######################
34 **/target/**/feature.xml
35 **/target/failsafe-reports/failsafe-summary.xml
36 **/target/surefire-reports/*-output.txt
37 mvn-goals: clean install
43 project-type: freestyle
48 - opendaylight-infra-properties:
49 build-days-to-keep: '{build-days-to-keep}'
52 - opendaylight-infra-parameters:
53 os-cloud: '{os-cloud}'
56 refspec: 'refs/heads/{branch}'
57 artifacts: '{archive-artifacts}'
65 - opendaylight-infra-wrappers:
66 build-timeout: '{build-timeout}'
70 jobs: '{dependencies}'
74 - jacoco-nojava-workaround
75 - provide-maven-settings:
76 global-settings-file: 'global-settings'
77 settings-file: '{mvn-settings}'
79 maven-version: 'mvn33'
82 {opendaylight-infra-mvn-opts}
85 settings: '{mvn-settings}'
87 global-settings: 'global-settings'
88 global-settings-type: cfp
92 email-recipients: '{email-recipients}'
93 email-prefix: '{email-upstream}'
99 name: '{project-name}-merge-{stream}'
101 ######################
102 # Default parameters #
103 ######################
108 **/target/**/feature.xml
109 **/target/failsafe-reports/failsafe-summary.xml
110 **/target/surefire-reports/*-output.txt
112 java-version: openjdk8
114 #####################
115 # Job Configuration #
116 #####################
118 # Need to keep jobs that deploy to Nexus at end of build as Maven
119 # projects. Maybe reconsider this once upstream moves deploy to a
120 # separate lifecycle:
121 # https://issues.apache.org/jira/browse/MNG-5666
124 jdk: '{java-version}'
127 - opendaylight-infra-properties:
128 build-days-to-keep: 14
131 - opendaylight-infra-parameters:
132 os-cloud: '{os-cloud}'
135 refspec: 'refs/heads/{branch}'
136 artifacts: '{archive-artifacts}'
140 description: "String representing release name"
143 - gerrit-trigger-scm:
145 choosing-strategy: 'default'
148 - opendaylight-infra-wrappers:
149 build-timeout: '{build-timeout}'
153 - gerrit-trigger-patch-merged:
154 gerrit-server-name: '{gerrit-server-name}'
159 - jacoco-nojava-workaround
160 - provide-maven-settings:
161 global-settings-file: 'global-settings'
162 settings-file: '{mvn-settings}'
164 mvn-version: '{mvn-version}'
166 # TODO: Do we want to apply sophisticated checks as in *-distribution-check-*?
168 maven-name: '{mvn-version}'
173 {opendaylight-infra-mvn-opts}
174 maven-opts: '{mvn-opts}'
175 settings: '{mvn-settings}'
177 global-settings: 'global-settings'
178 global-settings-type: cfp
179 post-step-run-condition: UNSTABLE
185 - email-notification:
186 email-recipients: '{email-recipients}'
187 email-prefix: '[{project-name}]'
191 deploy-unstable: false
195 project: 'distribution-merge-{stream}'