X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fakraino-templates%2Fakraino-jjb-docker.yaml;fp=jjb%2Fakraino-templates%2Fakraino-jjb-docker.yaml;h=da5eb11412e599ee6745ec636aa071c41a5d9230;hp=0000000000000000000000000000000000000000;hb=e5f871ef06af2711bff8f41fc1684429ecd27a46;hpb=afef1a9105ddaf2403a7bd155f15a7dcdc65fdb5 diff --git a/jjb/akraino-templates/akraino-jjb-docker.yaml b/jjb/akraino-templates/akraino-jjb-docker.yaml new file mode 100644 index 0000000..da5eb11 --- /dev/null +++ b/jjb/akraino-templates/akraino-jjb-docker.yaml @@ -0,0 +1,52 @@ +--- +# +# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +- job-template: + id: 'akraino-project-stream-docker' + name: '{project}-{stream}-docker' + project-type: freestyle + node: '{build-node}' + + parameters: + - lf-infra-parameters: + project: '{project}' + branch: '{branch}' + stream: '{stream}' + lftools-version: '{lftools-version}' + + scm: + - lf-infra-gerrit-scm: + jenkins-ssh-credential: '{jenkins-ssh-credential}' + git-url: '{git-url}/{project}.git' + refspec: '' + branch: '{branch}' + submodule-recursive: '{submodule-recursive}' + choosing-strategy: default + + builders: + - lf-update-java-alternatives: + java-version: '{java-version}' + - lf-infra-docker-login: + global-settings-file: '{global-settings-file}' + settings-file: '{mvn-settings}' + - inject: + properties-content: | + PROJECT={project} + - shell: !include-raw-escape: + - ../shell/build-docker.sh + + triggers: + - timed: '@daily'