3 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 # not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
18 id: akraino-project-stream-release-config
19 name: '{project}-{stream}-release-config'
20 project-type: freestyle
23 gerrit_merge_triggers:
25 - comment-added-contains-event:
26 comment-contains-value: remerge$
28 gerrit_trigger_file_paths:
29 - compare-type: REG_EXP
33 - lf-infra-parameters:
37 lftools-version: '{lftools-version}'
38 - lf-infra-maven-parameters:
39 mvn-opts: '{mvn-opts}'
40 mvn-params: '{mvn-params}'
41 mvn-version: '{mvn-version}'
42 staging-profile-id: '{staging-profile-id}'
45 - lf-infra-gerrit-scm:
46 jenkins-ssh-credential: '{jenkins-ssh-credential}'
47 git-url: '{git-url}/{project}.git'
50 submodule-recursive: '{submodule-recursive}'
51 choosing-strategy: default
53 nexus-shapshot-repo: snapshots
56 mvn-version: '{mvn-version}'
57 - lf-update-java-alternatives:
58 java-version: '{java-version}'
59 - lf-provide-maven-settings:
60 global-settings-file: '{global-settings-file}'
61 settings-file: '{mvn-settings}'
62 - lf-infra-create-netrc:
63 server-id: '{mvn-staging-id}'
66 MAVEN_REPO_URL={maven-repo-url}
69 UPLOAD_FILES_PATH={upload-files-dir}
71 - shell: !include-raw-escape:
72 - ../shell/make-tar.sh
73 - ../global-jjb/shell/common-variables.sh
74 - ../global-jjb/shell/lftools-install.sh
75 - ../global-jjb/shell/deploy-maven-file.sh
76 - lf-provide-maven-settings-cleanup
81 server-name: '{gerrit-server-name}'
82 trigger-on: '{obj:gerrit_merge_triggers}'
84 - project-compare-type: ANT
85 project-pattern: '{project}'
87 - branch-compare-type: ANT
88 branch-pattern: '**/{branch}'
89 file-paths: '{obj:gerrit_trigger_file_paths}'