From: robert.tomczyk Date: Thu, 20 Feb 2020 12:15:07 +0000 (+0000) Subject: ONAP: Add uds/sdc-customization repo X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F3747%2F2;p=infra%2Fcicd.git ONAP: Add uds/sdc-customization repo This repo is used for Ericsson ONAP SDC customization. It's not pushed to ONAP upstream. Change-Id: I5d17276c5ff508f9706d1b9bb1aecda9cea9a7e3 --- diff --git a/jjb/onap/global-templates-local-onap-java.yaml b/jjb/onap/global-templates-local-onap-java.yaml new file mode 100644 index 00000000..574d96bf --- /dev/null +++ b/jjb/onap/global-templates-local-onap-java.yaml @@ -0,0 +1,60 @@ +--- +# This is a separate java verify template for the local ONAP repositories +# that are not push to ONAP upstream. +- job-template: + name: 'local-onap-{project-name}-{stream}-verify-java' + disabled: false + concurrent: true + + properties: + - logrotate + + jdk-version: jdk8 + + parameters: + - project-parameters: + project: 'local/onap/{project}' + branch: '{branch}' + - nordix-gerrit-parameters + - label: + name: SLAVE_LABEL + default: 'onap-build-ubuntu1604-{jdk-version}' + description: 'Slave label to schedule this job on' + - string: + name: JAVA_HOME + default: /usr/lib/jvm/openjdk-amd64 + description: Java home + - string: + name: MVN_VERSION + default: 3.5.4 + description: Maven version + - string: + name: MVN_URL + default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip + description: URL to download Maven + - string: + name: MVN + default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn + description: Path to mvn executable + + scm: + - git-scm-gerrit: + ssh-credentials-id: nordixinfra-nordix-gerrit-ssh + branch: '{branch}' + refspec: $GERRIT_REFSPEC + wipe_workspace: true + clean_before: false + + triggers: + - nordix-gerrit-trigger-patchset-created: + project: 'local/onap/{project}' + branch: '{branch}' + files: '**' + + wrappers: + - build-timeout: + timeout: 45 + + builders: + - shell: + !include-raw-escape: ../global/verify-jobs.sh diff --git a/jjb/onap/uds-sdc-customization/uds-sdc-customization-verify-jobs.yaml b/jjb/onap/uds-sdc-customization/uds-sdc-customization-verify-jobs.yaml new file mode 100644 index 00000000..769a4edd --- /dev/null +++ b/jjb/onap/uds-sdc-customization/uds-sdc-customization-verify-jobs.yaml @@ -0,0 +1,33 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2019 Nordix Foundation. +# ================================================================================ +# 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. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= + +# this job gets triggered when a change is proposed to +# ONAP SDC Ericsson customization: uds/sdc-customization project on Nordix Gerrit. + +- project: + name: uds-sdc-customization-verify + project: uds/sdc-customization + project-name: uds-sdc-customization + + stream: + - 'master': + branch: '{stream}' + + jobs: + - 'local-onap-{project-name}-{stream}-verify-java' \ No newline at end of file