3 name: '{project-name}-integration-{stream}'
5 project-type: freestyle
10 - opendaylight-infra-properties:
11 build-days-to-keep: '{build-days-to-keep}'
14 - opendaylight-infra-parameters:
15 os-cloud: '{os-cloud}'
18 refspec: 'refs/heads/{branch}'
19 artifacts: '{archive-artifacts}'
27 - opendaylight-infra-wrappers:
28 build-timeout: '{build-timeout}'
32 jobs: '{dependencies}'
36 - jacoco-nojava-workaround
37 - provide-maven-settings:
38 global-settings-file: 'global-settings'
39 settings-file: '{mvn-settings}'
41 maven-version: 'mvn33'
44 {opendaylight-infra-mvn-opts}
47 settings: '{mvn-settings}'
49 global-settings: 'global-settings'
50 global-settings-type: cfp
54 email-recipients: '{email-recipients}'
55 email-prefix: '{email-upstream}'
61 name: '{project-name}-merge-{stream}'
63 # Need to keep jobs that deploy to Nexus at end of build as Maven
64 # projects. Maybe reconsider this once upstream moves deploy to a
66 # https://issues.apache.org/jira/browse/MNG-5666
72 - opendaylight-infra-properties:
73 build-days-to-keep: 14
76 - opendaylight-infra-parameters:
77 os-cloud: '{os-cloud}'
80 refspec: 'refs/heads/{branch}'
81 artifacts: '{archive-artifacts}'
85 description: "String representing release name"
90 choosing-strategy: 'default'
93 - opendaylight-infra-wrappers:
94 build-timeout: '{build-timeout}'
98 - gerrit-trigger-patch-merged:
99 gerrit-server-name: '{gerrit-server-name}'
104 - jacoco-nojava-workaround
105 - provide-maven-settings:
106 global-settings-file: 'global-settings'
107 settings-file: '{mvn-settings}'
109 # TODO: Do we want to apply sophisticated checks as in *-distribution-check-*?
116 {opendaylight-infra-mvn-opts}
117 maven-opts: '{mvn-opts}'
118 settings: '{mvn-settings}'
120 global-settings: 'global-settings'
121 global-settings-type: cfp
122 post-step-run-condition: UNSTABLE
126 condition-kind: file-exists
127 condition-filename: deploy-site.xml
128 condition-basedir: workspace
130 # The strategy here is intentional to run Maven site:deploy twice
131 # once using regular pom.xml to produce a staged-site which is
132 # then used by deploy-site.xml to push to Nexus. This is a
133 # workaround to Maven Site's default linking code which creates
134 # incorrect URLs for sites due to auto-detection assuming your
135 # project is configured in a certain way which ODL is not.
138 maven-version: 'mvn33'
140 goals: 'site:deploy -V -B -Dstream={stream}'
143 settings: '{mvn-settings}'
145 global-settings: 'global-settings'
146 global-settings-type: cfp
147 - opendaylight-infra-deploy-maven-site:
148 settings-file: '{mvn-settings}'
154 - email-notification:
155 email-recipients: '{email-recipients}'
156 email-prefix: '[{project-name}]'
160 deploy-unstable: false
164 project: 'distribution-merge-{stream}'