2 name: 'PROJECT_SHORTNAME-merge-{stream}'
4 # Job template for ODL merge jobs
6 # The purpose of this job template is to setup a ODL merge job
7 # and deploy artifacts to Nexus.
10 # stream: release stream (eg. stable-lithium or beryllium)
11 # branch: git branch (eg. stable/lithium or master)
20 artifactDaysToKeep: '{build-artifact-days-to-keep}'
21 artifactNumToKeep: '{build-artifact-num-to-keep}'
29 refspec: 'refs/heads/{branch}'
34 choosing-strategy: 'default'
37 - opendaylight-infra-wrappers:
38 build-timeout: '{build-timeout}'
42 - gerrit-trigger-patch-merged:
47 - jacoco-nojava-workaround
48 - provide-maven-settings:
49 global-settings-file: 'odl-global-settings'
50 settings-file: 'JENKINS_SETTINGS'
55 goals: 'MAVEN_GOALS -V -B -Djenkins -Dmerge -Dstream={stream}'
56 maven-opts: 'MAVEN_OPTS'
57 settings: 'JENKINS_SETTINGS'
59 global-settings: 'odl-global-settings'
60 global-settings-type: cfp
61 post-step-run-condition: UNSTABLE
65 condition-kind: file-exists
66 condition-filename: deploy-site.xml
67 condition-basedir: workspace
69 # The strategy here is intentional to run Maven site:deploy twice
70 # once using regular pom.xml to produce a staged-site which is
71 # then used by deploy-site.xml to push to Nexus. This is a
72 # workaround to Maven Site's default linking code which creates
73 # incorrect URLs for sites due to auto-detection assuming your
74 # project is configured in a certain way which ODL is not.
77 maven-version: '{mvn33}'
79 goals: 'site:deploy -V -B -Dstream={stream}'
82 settings: 'JENKINS_SETTINGS'
84 global-settings: 'odl-global-settings'
85 global-settings-type: cfp
87 maven-version: '{mvn33}'
89 goals: 'site:deploy -V -B -Dstream={stream}'
92 settings: 'JENKINS_SETTINGS'
94 global-settings: 'odl-global-settings'
95 global-settings-type: cfp
102 - email-notification:
103 email-prefix: '[PROJECT_SHORTNAME]'
107 deploy-unstable: false
110 maven-version: '{mvn33}'