From 3e77f6448a0bd99bd43668d52485110591338cae Mon Sep 17 00:00:00 2001 From: "robert.tomczyk" Date: Mon, 2 Nov 2020 12:25:25 +0000 Subject: [PATCH] ONAP: Add new CPS project to Nordix Change-Id: I251119cf9eeb807dd23d842781b975209db947e6 --- jjb/onap/cps/cps-push-upstream-jobs.yaml | 27 +++++++++++++++++++ jjb/onap/cps/cps-rebase-jobs.yaml | 28 +++++++++++++++++++ jjb/onap/cps/cps-verify-jobs.yaml | 34 ++++++++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 jjb/onap/cps/cps-push-upstream-jobs.yaml create mode 100644 jjb/onap/cps/cps-rebase-jobs.yaml create mode 100644 jjb/onap/cps/cps-verify-jobs.yaml diff --git a/jjb/onap/cps/cps-push-upstream-jobs.yaml b/jjb/onap/cps/cps-push-upstream-jobs.yaml new file mode 100644 index 00000000..e07f1fe0 --- /dev/null +++ b/jjb/onap/cps/cps-push-upstream-jobs.yaml @@ -0,0 +1,27 @@ +--- +# ============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 push-upstream is commented on a change on Nordix Gerrit. +- project: + name: cps-push-upstream + project: cps + project-name: cps + + jobs: + - 'onap-{project-name}-push-upstream' diff --git a/jjb/onap/cps/cps-rebase-jobs.yaml b/jjb/onap/cps/cps-rebase-jobs.yaml new file mode 100644 index 00000000..a11d8255 --- /dev/null +++ b/jjb/onap/cps/cps-rebase-jobs.yaml @@ -0,0 +1,28 @@ +--- +# ============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 merged to +# cps project on ONAP Gerrit. +- project: + name: cps-rebase + project: cps + project-name: cps + + jobs: + - 'onap-{project-name}-rebase' diff --git a/jjb/onap/cps/cps-verify-jobs.yaml b/jjb/onap/cps/cps-verify-jobs.yaml new file mode 100644 index 00000000..a193dd0c --- /dev/null +++ b/jjb/onap/cps/cps-verify-jobs.yaml @@ -0,0 +1,34 @@ +--- +# +# ============LICENSE_START======================================================= +# Copyright (C) 2018-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 +# cps project on Nordix Gerrit. + +- project: + name: cps-verify + project: cps + project-name: cps + + stream: + - 'master': + branch: '{stream}' + jdk-version: java-11 + + jobs: + - 'onap-{project-name}-{stream}-verify-java' -- 2.25.1