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 ######################
31 mvn-goals: clean install
37 project-type: freestyle
42 - opendaylight-infra-properties:
43 build-days-to-keep: '{build-days-to-keep}'
46 - opendaylight-infra-parameters:
47 os-cloud: '{os-cloud}'
50 refspec: 'refs/heads/{branch}'
51 artifacts: '{archive-artifacts}'
59 - opendaylight-infra-wrappers:
60 build-timeout: '{build-timeout}'
64 jobs: '{dependencies}'
68 - jacoco-nojava-workaround
69 - provide-maven-settings:
70 global-settings-file: 'global-settings'
71 settings-file: '{mvn-settings}'
73 maven-version: 'mvn33'
76 {opendaylight-infra-mvn-opts}
79 settings: '{mvn-settings}'
81 global-settings: 'global-settings'
82 global-settings-type: cfp
86 email-recipients: '{email-recipients}'
87 email-prefix: '{email-upstream}'
93 name: '{project-name}-merge-{stream}'
95 ######################
96 # Default parameters #
97 ######################
99 java-version: openjdk8
101 #####################
102 # Job Configuration #
103 #####################
105 # Need to keep jobs that deploy to Nexus at end of build as Maven
106 # projects. Maybe reconsider this once upstream moves deploy to a
107 # separate lifecycle:
108 # https://issues.apache.org/jira/browse/MNG-5666
111 jdk: '{java-version}'
114 - opendaylight-infra-properties:
115 build-days-to-keep: 14
118 - opendaylight-infra-parameters:
119 os-cloud: '{os-cloud}'
122 refspec: 'refs/heads/{branch}'
123 artifacts: '{archive-artifacts}'
127 description: "String representing release name"
130 - gerrit-trigger-scm:
132 choosing-strategy: 'default'
135 - opendaylight-infra-wrappers:
136 build-timeout: '{build-timeout}'
140 - gerrit-trigger-patch-merged:
141 gerrit-server-name: '{gerrit-server-name}'
146 - jacoco-nojava-workaround
147 - provide-maven-settings:
148 global-settings-file: 'global-settings'
149 settings-file: '{mvn-settings}'
151 # TODO: Do we want to apply sophisticated checks as in *-distribution-check-*?
158 {opendaylight-infra-mvn-opts}
159 maven-opts: '{mvn-opts}'
160 settings: '{mvn-settings}'
162 global-settings: 'global-settings'
163 global-settings-type: cfp
164 post-step-run-condition: UNSTABLE
170 - email-notification:
171 email-recipients: '{email-recipients}'
172 email-prefix: '[{project-name}]'
176 deploy-unstable: false
180 project: 'distribution-merge-{stream}'