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 ######################
100 java-version: openjdk8
102 #####################
103 # Job Configuration #
104 #####################
106 # Need to keep jobs that deploy to Nexus at end of build as Maven
107 # projects. Maybe reconsider this once upstream moves deploy to a
108 # separate lifecycle:
109 # https://issues.apache.org/jira/browse/MNG-5666
112 jdk: '{java-version}'
115 - opendaylight-infra-properties:
116 build-days-to-keep: 14
119 - opendaylight-infra-parameters:
120 os-cloud: '{os-cloud}'
123 refspec: 'refs/heads/{branch}'
124 artifacts: '{archive-artifacts}'
128 description: "String representing release name"
131 - gerrit-trigger-scm:
133 choosing-strategy: 'default'
136 - opendaylight-infra-wrappers:
137 build-timeout: '{build-timeout}'
141 - gerrit-trigger-patch-merged:
142 gerrit-server-name: '{gerrit-server-name}'
147 - jacoco-nojava-workaround
148 - provide-maven-settings:
149 global-settings-file: 'global-settings'
150 settings-file: '{mvn-settings}'
152 mvn-version: '{mvn-version}'
154 # TODO: Do we want to apply sophisticated checks as in *-distribution-check-*?
156 maven-name: '{mvn-version}'
161 {opendaylight-infra-mvn-opts}
162 maven-opts: '{mvn-opts}'
163 settings: '{mvn-settings}'
165 global-settings: 'global-settings'
166 global-settings-type: cfp
167 post-step-run-condition: UNSTABLE
173 - email-notification:
174 email-recipients: '{email-recipients}'
175 email-prefix: '[{project-name}]'
179 deploy-unstable: false
183 project: 'distribution-merge-{stream}'