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'
21 ######################
22 # Default parameters #
23 ######################
28 **/target/**/feature.xml
29 **/target/failsafe-reports/failsafe-summary.xml
30 **/target/surefire-reports/*-output.txt
31 build-days-to-keep: 30
33 java-version: openjdk8
34 maven-repo-url: '$NEXUS_URL/content/repositories/snapshots'
35 mvn-global-settings: global-settings
39 nexus-shapshot-repo: snapshots
41 staging-profile-id: '' # Unused by this job.
43 submodule-recursive: true
44 upload-files-dir: /tmp/tardir
50 project-type: freestyle
54 - lf-infra-properties:
55 build-days-to-keep: '{build-days-to-keep}'
58 - lf-infra-parameters:
62 lftools-version: '{lftools-version}'
63 - lf-infra-maven-parameters:
64 mvn-opts: '{mvn-opts}'
65 mvn-params: '{mvn-params}'
66 mvn-version: '{mvn-version}'
67 # Staging repos do not make sense for CLM jobs so set it blank.
68 staging-profile-id: '{staging-profile-id}'
70 name: ARCHIVE_ARTIFACTS
71 default: '{archive-artifacts}'
72 description: Artifacts to archive to the logs server.
74 name: UPLOAD_FILES_PATH
75 default: '{upload-files-dir}'
76 description: File path to generate tarball and upload to repository.
80 build-timeout: '{build-timeout}'
81 jenkins-ssh-credential: '{jenkins-ssh-credential}'
83 gerrit_merge_triggers:
85 - comment-added-contains-event:
86 comment-contains-value: remerge$
88 gerrit_trigger_file_paths:
89 - compare-type: REG_EXP
93 - lf-infra-gerrit-scm:
94 jenkins-ssh-credential: '{jenkins-ssh-credential}'
95 git-url: '{git-url}/{project}.git'
98 submodule-recursive: '{submodule-recursive}'
99 submodule-timeoute: '{submodule-timeout}'
100 choosing-strategy: default
103 - timed: '{obj:cron}'
105 server-name: '{gerrit-server-name}'
106 trigger-on: '{obj:gerrit_merge_triggers}'
108 - project-compare-type: ANT
109 project-pattern: '{project}'
111 - branch-compare-type: ANT
112 branch-pattern: '**/{branch}'
113 file-paths: '{obj:gerrit_trigger_file_paths}'
118 mvn-version: '{mvn-version}'
119 - lf-update-java-alternatives:
120 java-version: '{java-version}'
121 - lf-provide-maven-settings:
122 global-settings-file: '{mvn-global-settings}'
123 settings-file: '{mvn-settings}'
124 - shell: !include-raw-escape:
125 - ../shell/make-tar.sh
126 - lf-infra-deploy-maven-file:
127 global-settings-file: '{mvn-global-settings}'
128 settings-file: '{mvn-settings}'
129 mvn-version: '{mvn-version}'
131 group-id: '{group-id}'
132 upload-files-dir: '{upload-files-dir}'
133 maven-repo-url: '{maven-repo-url}'