From 46195f14d9dfd8604fc33976f4d825073b1061c7 Mon Sep 17 00:00:00 2001 From: afenner Date: Tue, 5 Jan 2021 14:20:31 +0000 Subject: [PATCH] Add policy/clamp repo handling Change-Id: Ifc228c27a093163dd8c3becf9a86b0188615759f Signed-off-by: afenner --- .../policy-clamp-push-upstream-jobs.yaml | 28 +++++++++++++++ .../policy-clamp-rebase-jobs.yaml | 29 +++++++++++++++ .../policy-clamp-verify-jobs.yaml | 35 +++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 jjb/onap/policy-clamp/policy-clamp-push-upstream-jobs.yaml create mode 100644 jjb/onap/policy-clamp/policy-clamp-rebase-jobs.yaml create mode 100644 jjb/onap/policy-clamp/policy-clamp-verify-jobs.yaml diff --git a/jjb/onap/policy-clamp/policy-clamp-push-upstream-jobs.yaml b/jjb/onap/policy-clamp/policy-clamp-push-upstream-jobs.yaml new file mode 100644 index 00000000..6fcd0879 --- /dev/null +++ b/jjb/onap/policy-clamp/policy-clamp-push-upstream-jobs.yaml @@ -0,0 +1,28 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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: policy-clamp-push-upstream + project: policy/clamp + project-name: policy-clamp + + jobs: + - 'onap-{project-name}-push-upstream' diff --git a/jjb/onap/policy-clamp/policy-clamp-rebase-jobs.yaml b/jjb/onap/policy-clamp/policy-clamp-rebase-jobs.yaml new file mode 100644 index 00000000..047f4f4c --- /dev/null +++ b/jjb/onap/policy-clamp/policy-clamp-rebase-jobs.yaml @@ -0,0 +1,29 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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 +# policy/clamp project on ONAP Gerrit. +- project: + name: policy-clamp-rebase + project: policy/clamp + project-name: policy-clamp + + jobs: + - 'onap-{project-name}-rebase' diff --git a/jjb/onap/policy-clamp/policy-clamp-verify-jobs.yaml b/jjb/onap/policy-clamp/policy-clamp-verify-jobs.yaml new file mode 100644 index 00000000..a9b36977 --- /dev/null +++ b/jjb/onap/policy-clamp/policy-clamp-verify-jobs.yaml @@ -0,0 +1,35 @@ +--- +# +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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 +# policy/clamp project on Nordix Gerrit. + +- project: + name: policy-clamp-verify + project: policy/clamp + project-name: policy-clamp + + stream: + - 'master': + branch: '{stream}' + jdk-version: java-11 + + jobs: + - 'onap-{project-name}-{stream}-verify-java' -- 2.25.1