5 - 'opflex-release-{stream}'
12 branch: 'stable/nitrogen'
15 branch: 'stable/carbon'
18 branch: 'stable/boron'
22 project-name: 'opflex'
25 global-settings-file: global-settings
26 settings-file: opflex-settings
27 group-id: org.opendaylight.opflex
28 upload-files-dir: "$WORKSPACE/upload_files"
30 # Used by the release job
31 staging-profile-id: 906b0d53d714e
35 name: opflex-deploy-maven-file
36 # Todo: Remove this builder when the generic version of the builder is
37 # available in global-jjb. Change no: 5753
38 # Deploy artifacts to a repository.
40 # The builder requires passing the following parameters
41 # REPO_ID: Repository ID
42 # GROUP_ID: Group ID of the repository
43 # UPLOAD_FILES_PATH: Path to directory containing one or more files
46 mvn-version: '{mvn-version}'
47 - lf-provide-maven-settings:
48 global-settings-file: '{global-settings-file}'
49 settings-file: '{settings-file}'
52 MAVEN_REPO_URL=file://$WORKSPACE/m2repo
55 UPLOAD_FILES_PATH={upload-files-dir}
56 - shell: !include-raw-escape:
57 - ../global-jjb/shell/lftools-install.sh
58 - ../global-jjb/shell/common-variables.sh
62 name: opflex-maven-stage
63 # Todo: Migrate to the generic version of the builders available in
64 # global-jjb. Change no: 5753
65 # Stage files to Nexus repository.
67 # The builder requires passing the following parameters
68 # REPO_ID : Repository ID
69 # GROUP_ID : Group ID of the repository
70 # UPLOAD_FILES_PATH : Path to directory containing one or more files
71 # STAGING_PROFILE_ID : Staging profile id created on Nexus
73 - lf-provide-maven-settings:
74 global-settings-file: '{global-settings-file}'
75 settings-file: '{settings-file}'
76 - lf-infra-create-netrc:
77 server-id: opendaylight-staging
80 STAGING_PROFILE_ID={staging-profile-id}
81 - shell: !include-raw-escape:
82 - ../global-jjb/shell/lftools-install.sh
83 - ../global-jjb/shell/maven-stage.sh
86 name: 'opflex-release-{stream}'
88 node: centos7-java-builder-2c-8g
91 ######################
92 # Default parameters #
93 ######################
96 java-version: openjdk8
103 - opendaylight-infra-properties:
104 build-days-to-keep: '{build-days-to-keep}'
107 - opendaylight-infra-parameters:
108 os-cloud: '{os-cloud}'
111 refspec: 'refs/heads/{branch}'
113 - lf-infra-maven-parameters:
114 mvn-opts: '{mvn-opts}'
115 mvn-params: '{mvn-params}'
116 mvn-version: '{mvn-version}'
117 staging-profile-id: '{staging-profile-id}'
120 - gerrit-trigger-scm:
122 choosing-strategy: 'default'
125 - opendaylight-infra-wrappers:
126 build-timeout: '{build-timeout}'
130 mvn33: '{mvn-version}'
132 # todo: replace the builder with generic version in global-jjb
133 - opflex-deploy-maven-file:
134 global-settings-file: '{global-settings-file}'
135 settings-file: '{settings-file}'
136 mvn-version: '{mvn-version}'
137 repo-id: '{staging-profile-id}'
138 group-id: '{group-id}'
139 upload-files-dir: '{upload-files-dir}'
140 - lf-infra-create-netrc:
141 server-id: opendaylight-staging
142 # todo: replace the builder with generic version in global-jjb
143 - opflex-maven-stage:
144 global-settings-file: '{global-settings-file}'
145 settings-file: '{settings-file}'
146 staging-profile-id: '{staging-profile-id}'
147 - lf-provide-maven-settings-cleanup
150 - email-notification:
151 email-recipients: '{email-recipients}'
152 email-prefix: '[opflex]'