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-docker'
19 name: '{project-name}-{stream}-docker'
20 project-type: freestyle
24 - lf-infra-parameters:
28 lftools-version: '{lftools-version}'
31 - lf-infra-gerrit-scm:
32 jenkins-ssh-credential: '{jenkins-ssh-credential}'
33 git-url: '{git-url}/{project}.git'
36 submodule-recursive: '{submodule-recursive}'
37 submodule-timeout: '{submodule-timeout}'
38 submodule-disable: false
39 choosing-strategy: default
42 - lf-update-java-alternatives:
43 java-version: '{java-version}'
44 - lf-infra-docker-login:
45 global-settings-file: '{global-settings-file}'
46 settings-file: '{mvn-settings}'
50 - shell: !include-raw-escape:
51 - ../shell/build-docker.sh
57 id: 'akraino-project-stream-stage-docker'
58 name: '{project-name}-{stream}-stage-docker'
59 project-type: freestyle
63 - lf-infra-parameters:
67 lftools-version: '{lftools-version}'
71 description: Mark this as a staging build.
74 - lf-infra-gerrit-scm:
75 jenkins-ssh-credential: '{jenkins-ssh-credential}'
76 git-url: '{git-url}/{project}.git'
79 submodule-recursive: '{submodule-recursive}'
80 submodule-timeout: '{submodule-timeout}'
81 submodule-disable: false
82 choosing-strategy: default
85 - lf-update-java-alternatives:
86 java-version: '{java-version}'
87 - lf-infra-docker-login:
88 global-settings-file: '{global-settings-file}'
89 settings-file: '{mvn-settings}'
93 - shell: !include-raw-escape:
94 - ../shell/get-upstream-autostage.sh
95 - ../shell/build-docker.sh
100 - '{project}-maven-stage-{stream}'
101 - 'yaml_builds-{stream}-stage-config'