From 0daa87512a84f387d52a422864669b26f8d38b91 Mon Sep 17 00:00:00 2001 From: "robert.tomczyk" Date: Tue, 25 Jun 2019 10:27:00 +0100 Subject: [PATCH] ONAP: Moving policy repos under 'onap' namespace Projects migrated: - policy/engine - policy/common - policy/core - policy/distribution - policy/docker - policy/drools-applications - policy/drools-pdp - policy/gui - policy/oom - policy/parent - policy/pdp - policy/xacml-pdp Change-Id: I63723988b5e84e68c4e140554daa65ca925de9cf --- .../policy-common-push-upstream-jobs.yaml | 2 +- .../policy-common-rebase-jobs.yaml | 2 +- .../policy-common-verify-jobs.yaml | 2 +- .../policy-core-push-upstream-jobs.yaml | 2 +- .../policy-core}/policy-core-rebase-jobs.yaml | 2 +- .../policy-core}/policy-core-verify-jobs.yaml | 2 +- ...olicy-distribution-push-upstream-jobs.yaml | 2 +- .../policy-distribution-rebase-jobs.yaml | 2 +- .../policy-distribution-verify-jobs.yaml | 2 +- .../policy-docker-push-upstream-jobs.yaml | 31 +++++++++++++++++ .../policy-docker-rebase-jobs.yaml | 33 +++++++++++++++++++ ...rools-applications-push-upstream-jobs.yaml | 2 +- ...olicy-drools-applications-rebase-jobs.yaml | 2 +- ...olicy-drools-applications-verify-jobs.yaml | 2 +- .../policy-drools-pdp-push-upstream-jobs.yaml | 2 +- .../policy-drools-pdp-rebase-jobs.yaml | 2 +- .../policy-drools-pdp-verify-jobs.yaml | 2 +- .../policy-engine-push-upstream-jobs.yaml | 2 +- .../policy-engine-rebase-jobs.yaml | 2 +- .../policy-engine-verify-jobs.yaml | 2 +- .../policy-gui-push-upstream-jobs.yaml | 31 +++++++++++++++++ .../policy-gui/policy-gui-rebase-jobs.yaml | 33 +++++++++++++++++++ .../policy-oom-push-upstream-jobs.yaml | 2 +- .../policy-oom}/policy-oom-rebase-jobs.yaml | 2 +- .../policy-parent-push-upstream-jobs.yaml | 2 +- .../policy-parent-rebase-jobs.yaml | 2 +- .../policy-parent-verify-jobs.yaml | 2 +- .../policy-pdp-push-upstream-jobs.yaml | 31 +++++++++++++++++ .../policy-pdp/policy-pdp-rebase-jobs.yaml | 33 +++++++++++++++++++ .../policy-xacml-pdp-push-upstream-jobs.yaml | 2 +- .../policy-xacml-pdp-rebase-jobs.yaml | 2 +- .../policy-xacml-pdp-verify-jobs.yaml | 2 +- 32 files changed, 218 insertions(+), 26 deletions(-) rename jjb/{policy => onap/policy-common}/policy-common-push-upstream-jobs.yaml (95%) rename jjb/{policy => onap/policy-common}/policy-common-rebase-jobs.yaml (96%) rename jjb/{policy => onap/policy-common}/policy-common-verify-jobs.yaml (95%) rename jjb/{policy => onap/policy-core}/policy-core-push-upstream-jobs.yaml (95%) rename jjb/{policy => onap/policy-core}/policy-core-rebase-jobs.yaml (96%) rename jjb/{policy => onap/policy-core}/policy-core-verify-jobs.yaml (95%) rename jjb/{policy => onap/policy-distribution}/policy-distribution-push-upstream-jobs.yaml (95%) rename jjb/{policy => onap/policy-distribution}/policy-distribution-rebase-jobs.yaml (96%) rename jjb/{policy => onap/policy-distribution}/policy-distribution-verify-jobs.yaml (96%) create mode 100644 jjb/onap/policy-docker/policy-docker-push-upstream-jobs.yaml create mode 100644 jjb/onap/policy-docker/policy-docker-rebase-jobs.yaml rename jjb/{policy => onap/policy-drools-applications}/policy-drools-applications-push-upstream-jobs.yaml (95%) rename jjb/{policy => onap/policy-drools-applications}/policy-drools-applications-rebase-jobs.yaml (96%) rename jjb/{policy => onap/policy-drools-applications}/policy-drools-applications-verify-jobs.yaml (96%) rename jjb/{policy => onap/policy-drools-pdp}/policy-drools-pdp-push-upstream-jobs.yaml (95%) rename jjb/{policy => onap/policy-drools-pdp}/policy-drools-pdp-rebase-jobs.yaml (96%) rename jjb/{policy => onap/policy-drools-pdp}/policy-drools-pdp-verify-jobs.yaml (95%) rename jjb/{policy => onap/policy-engine}/policy-engine-push-upstream-jobs.yaml (95%) rename jjb/{policy => onap/policy-engine}/policy-engine-rebase-jobs.yaml (96%) rename jjb/{policy => onap/policy-engine}/policy-engine-verify-jobs.yaml (95%) create mode 100644 jjb/onap/policy-gui/policy-gui-push-upstream-jobs.yaml create mode 100644 jjb/onap/policy-gui/policy-gui-rebase-jobs.yaml rename jjb/{policy => onap/policy-oom}/policy-oom-push-upstream-jobs.yaml (95%) rename jjb/{policy => onap/policy-oom}/policy-oom-rebase-jobs.yaml (96%) rename jjb/{policy => onap/policy-parent}/policy-parent-push-upstream-jobs.yaml (95%) rename jjb/{policy => onap/policy-parent}/policy-parent-rebase-jobs.yaml (96%) rename jjb/{policy => onap/policy-parent}/policy-parent-verify-jobs.yaml (95%) create mode 100644 jjb/onap/policy-pdp/policy-pdp-push-upstream-jobs.yaml create mode 100644 jjb/onap/policy-pdp/policy-pdp-rebase-jobs.yaml rename jjb/{policy => onap/policy-xacml-pdp}/policy-xacml-pdp-push-upstream-jobs.yaml (95%) rename jjb/{policy => onap/policy-xacml-pdp}/policy-xacml-pdp-rebase-jobs.yaml (96%) rename jjb/{policy => onap/policy-xacml-pdp}/policy-xacml-pdp-verify-jobs.yaml (95%) diff --git a/jjb/policy/policy-common-push-upstream-jobs.yaml b/jjb/onap/policy-common/policy-common-push-upstream-jobs.yaml similarity index 95% rename from jjb/policy/policy-common-push-upstream-jobs.yaml rename to jjb/onap/policy-common/policy-common-push-upstream-jobs.yaml index 829b79784..3af2ade77 100644 --- a/jjb/policy/policy-common-push-upstream-jobs.yaml +++ b/jjb/onap/policy-common/policy-common-push-upstream-jobs.yaml @@ -28,4 +28,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-push-upstream' + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/policy/policy-common-rebase-jobs.yaml b/jjb/onap/policy-common/policy-common-rebase-jobs.yaml similarity index 96% rename from jjb/policy/policy-common-rebase-jobs.yaml rename to jjb/onap/policy-common/policy-common-rebase-jobs.yaml index bc968c720..4812096df 100644 --- a/jjb/policy/policy-common-rebase-jobs.yaml +++ b/jjb/onap/policy-common/policy-common-rebase-jobs.yaml @@ -32,4 +32,4 @@ # branch: '{stream}' jobs: - - '{project-name}-{stream}-rebase' + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-common-verify-jobs.yaml b/jjb/onap/policy-common/policy-common-verify-jobs.yaml similarity index 95% rename from jjb/policy/policy-common-verify-jobs.yaml rename to jjb/onap/policy-common/policy-common-verify-jobs.yaml index 6dbd14b00..9066bf7eb 100644 --- a/jjb/policy/policy-common-verify-jobs.yaml +++ b/jjb/onap/policy-common/policy-common-verify-jobs.yaml @@ -33,4 +33,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-verify-java' + - 'onap-{project-name}-{stream}-verify-java' diff --git a/jjb/policy/policy-core-push-upstream-jobs.yaml b/jjb/onap/policy-core/policy-core-push-upstream-jobs.yaml similarity index 95% rename from jjb/policy/policy-core-push-upstream-jobs.yaml rename to jjb/onap/policy-core/policy-core-push-upstream-jobs.yaml index 10baafd55..6f5db049f 100644 --- a/jjb/policy/policy-core-push-upstream-jobs.yaml +++ b/jjb/onap/policy-core/policy-core-push-upstream-jobs.yaml @@ -28,4 +28,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-push-upstream' + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/policy/policy-core-rebase-jobs.yaml b/jjb/onap/policy-core/policy-core-rebase-jobs.yaml similarity index 96% rename from jjb/policy/policy-core-rebase-jobs.yaml rename to jjb/onap/policy-core/policy-core-rebase-jobs.yaml index d96e24254..b1d1d21e5 100644 --- a/jjb/policy/policy-core-rebase-jobs.yaml +++ b/jjb/onap/policy-core/policy-core-rebase-jobs.yaml @@ -32,4 +32,4 @@ # branch: '{stream}' jobs: - - '{project-name}-{stream}-rebase' + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-core-verify-jobs.yaml b/jjb/onap/policy-core/policy-core-verify-jobs.yaml similarity index 95% rename from jjb/policy/policy-core-verify-jobs.yaml rename to jjb/onap/policy-core/policy-core-verify-jobs.yaml index 7171eb014..7f521dc2b 100644 --- a/jjb/policy/policy-core-verify-jobs.yaml +++ b/jjb/onap/policy-core/policy-core-verify-jobs.yaml @@ -33,4 +33,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-verify-java' + - 'onap-{project-name}-{stream}-verify-java' diff --git a/jjb/policy/policy-distribution-push-upstream-jobs.yaml b/jjb/onap/policy-distribution/policy-distribution-push-upstream-jobs.yaml similarity index 95% rename from jjb/policy/policy-distribution-push-upstream-jobs.yaml rename to jjb/onap/policy-distribution/policy-distribution-push-upstream-jobs.yaml index 82ff3df59..be5cc010c 100644 --- a/jjb/policy/policy-distribution-push-upstream-jobs.yaml +++ b/jjb/onap/policy-distribution/policy-distribution-push-upstream-jobs.yaml @@ -28,4 +28,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-push-upstream' + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/policy/policy-distribution-rebase-jobs.yaml b/jjb/onap/policy-distribution/policy-distribution-rebase-jobs.yaml similarity index 96% rename from jjb/policy/policy-distribution-rebase-jobs.yaml rename to jjb/onap/policy-distribution/policy-distribution-rebase-jobs.yaml index 0d8d5c4a3..59dd9ffea 100644 --- a/jjb/policy/policy-distribution-rebase-jobs.yaml +++ b/jjb/onap/policy-distribution/policy-distribution-rebase-jobs.yaml @@ -32,4 +32,4 @@ # branch: '{stream}' jobs: - - '{project-name}-{stream}-rebase' + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-distribution-verify-jobs.yaml b/jjb/onap/policy-distribution/policy-distribution-verify-jobs.yaml similarity index 96% rename from jjb/policy/policy-distribution-verify-jobs.yaml rename to jjb/onap/policy-distribution/policy-distribution-verify-jobs.yaml index 7660c4307..8c542fe61 100644 --- a/jjb/policy/policy-distribution-verify-jobs.yaml +++ b/jjb/onap/policy-distribution/policy-distribution-verify-jobs.yaml @@ -33,4 +33,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-verify-java' + - 'onap-{project-name}-{stream}-verify-java' diff --git a/jjb/onap/policy-docker/policy-docker-push-upstream-jobs.yaml b/jjb/onap/policy-docker/policy-docker-push-upstream-jobs.yaml new file mode 100644 index 000000000..1f9ea8a49 --- /dev/null +++ b/jjb/onap/policy-docker/policy-docker-push-upstream-jobs.yaml @@ -0,0 +1,31 @@ +--- +# ============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: policy-docker-push-upstream + project: policy/docker + project-name: policy-docker + stream: + - master: + branch: '{stream}' + + jobs: + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/onap/policy-docker/policy-docker-rebase-jobs.yaml b/jjb/onap/policy-docker/policy-docker-rebase-jobs.yaml new file mode 100644 index 000000000..c3499e9c7 --- /dev/null +++ b/jjb/onap/policy-docker/policy-docker-rebase-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 merged to +# policy/docker project on ONAP Gerrit. +- project: + name: policy-docker-rebase + project: policy/docker + project-name: policy-docker + + stream: + - master: + branch: '{stream}' + + jobs: + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-drools-applications-push-upstream-jobs.yaml b/jjb/onap/policy-drools-applications/policy-drools-applications-push-upstream-jobs.yaml similarity index 95% rename from jjb/policy/policy-drools-applications-push-upstream-jobs.yaml rename to jjb/onap/policy-drools-applications/policy-drools-applications-push-upstream-jobs.yaml index b10c0e55c..703bfb721 100644 --- a/jjb/policy/policy-drools-applications-push-upstream-jobs.yaml +++ b/jjb/onap/policy-drools-applications/policy-drools-applications-push-upstream-jobs.yaml @@ -28,4 +28,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-push-upstream' + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/policy/policy-drools-applications-rebase-jobs.yaml b/jjb/onap/policy-drools-applications/policy-drools-applications-rebase-jobs.yaml similarity index 96% rename from jjb/policy/policy-drools-applications-rebase-jobs.yaml rename to jjb/onap/policy-drools-applications/policy-drools-applications-rebase-jobs.yaml index c29ae60c3..8ef5b614d 100644 --- a/jjb/policy/policy-drools-applications-rebase-jobs.yaml +++ b/jjb/onap/policy-drools-applications/policy-drools-applications-rebase-jobs.yaml @@ -32,4 +32,4 @@ # branch: '{stream}' jobs: - - '{project-name}-{stream}-rebase' + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-drools-applications-verify-jobs.yaml b/jjb/onap/policy-drools-applications/policy-drools-applications-verify-jobs.yaml similarity index 96% rename from jjb/policy/policy-drools-applications-verify-jobs.yaml rename to jjb/onap/policy-drools-applications/policy-drools-applications-verify-jobs.yaml index 0e3702322..0536c879b 100644 --- a/jjb/policy/policy-drools-applications-verify-jobs.yaml +++ b/jjb/onap/policy-drools-applications/policy-drools-applications-verify-jobs.yaml @@ -33,4 +33,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-verify-java' + - 'onap-{project-name}-{stream}-verify-java' diff --git a/jjb/policy/policy-drools-pdp-push-upstream-jobs.yaml b/jjb/onap/policy-drools-pdp/policy-drools-pdp-push-upstream-jobs.yaml similarity index 95% rename from jjb/policy/policy-drools-pdp-push-upstream-jobs.yaml rename to jjb/onap/policy-drools-pdp/policy-drools-pdp-push-upstream-jobs.yaml index da5459858..0ee571da2 100644 --- a/jjb/policy/policy-drools-pdp-push-upstream-jobs.yaml +++ b/jjb/onap/policy-drools-pdp/policy-drools-pdp-push-upstream-jobs.yaml @@ -28,4 +28,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-push-upstream' + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/policy/policy-drools-pdp-rebase-jobs.yaml b/jjb/onap/policy-drools-pdp/policy-drools-pdp-rebase-jobs.yaml similarity index 96% rename from jjb/policy/policy-drools-pdp-rebase-jobs.yaml rename to jjb/onap/policy-drools-pdp/policy-drools-pdp-rebase-jobs.yaml index ea4bcfcf3..6f0f0d819 100644 --- a/jjb/policy/policy-drools-pdp-rebase-jobs.yaml +++ b/jjb/onap/policy-drools-pdp/policy-drools-pdp-rebase-jobs.yaml @@ -32,4 +32,4 @@ # branch: '{stream}' jobs: - - '{project-name}-{stream}-rebase' + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-drools-pdp-verify-jobs.yaml b/jjb/onap/policy-drools-pdp/policy-drools-pdp-verify-jobs.yaml similarity index 95% rename from jjb/policy/policy-drools-pdp-verify-jobs.yaml rename to jjb/onap/policy-drools-pdp/policy-drools-pdp-verify-jobs.yaml index 5be532e97..fc0971562 100644 --- a/jjb/policy/policy-drools-pdp-verify-jobs.yaml +++ b/jjb/onap/policy-drools-pdp/policy-drools-pdp-verify-jobs.yaml @@ -33,4 +33,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-verify-java' + - 'onap-{project-name}-{stream}-verify-java' diff --git a/jjb/policy/policy-engine-push-upstream-jobs.yaml b/jjb/onap/policy-engine/policy-engine-push-upstream-jobs.yaml similarity index 95% rename from jjb/policy/policy-engine-push-upstream-jobs.yaml rename to jjb/onap/policy-engine/policy-engine-push-upstream-jobs.yaml index 4017b42b0..f9765deda 100644 --- a/jjb/policy/policy-engine-push-upstream-jobs.yaml +++ b/jjb/onap/policy-engine/policy-engine-push-upstream-jobs.yaml @@ -28,4 +28,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-push-upstream' + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/policy/policy-engine-rebase-jobs.yaml b/jjb/onap/policy-engine/policy-engine-rebase-jobs.yaml similarity index 96% rename from jjb/policy/policy-engine-rebase-jobs.yaml rename to jjb/onap/policy-engine/policy-engine-rebase-jobs.yaml index be3221ed8..24da28543 100644 --- a/jjb/policy/policy-engine-rebase-jobs.yaml +++ b/jjb/onap/policy-engine/policy-engine-rebase-jobs.yaml @@ -32,4 +32,4 @@ # branch: '{stream}' jobs: - - '{project-name}-{stream}-rebase' + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-engine-verify-jobs.yaml b/jjb/onap/policy-engine/policy-engine-verify-jobs.yaml similarity index 95% rename from jjb/policy/policy-engine-verify-jobs.yaml rename to jjb/onap/policy-engine/policy-engine-verify-jobs.yaml index e947669e8..325aae33d 100644 --- a/jjb/policy/policy-engine-verify-jobs.yaml +++ b/jjb/onap/policy-engine/policy-engine-verify-jobs.yaml @@ -33,4 +33,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-verify-java' + - 'onap-{project-name}-{stream}-verify-java' diff --git a/jjb/onap/policy-gui/policy-gui-push-upstream-jobs.yaml b/jjb/onap/policy-gui/policy-gui-push-upstream-jobs.yaml new file mode 100644 index 000000000..9176bf07a --- /dev/null +++ b/jjb/onap/policy-gui/policy-gui-push-upstream-jobs.yaml @@ -0,0 +1,31 @@ +--- +# ============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: policy-gui-push-upstream + project: policy/gui + project-name: policy-gui + stream: + - master: + branch: '{stream}' + + jobs: + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/onap/policy-gui/policy-gui-rebase-jobs.yaml b/jjb/onap/policy-gui/policy-gui-rebase-jobs.yaml new file mode 100644 index 000000000..c143b907a --- /dev/null +++ b/jjb/onap/policy-gui/policy-gui-rebase-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 merged to +# policy/gui project on ONAP Gerrit. +- project: + name: policy-gui-rebase + project: policy/gui + project-name: policy-gui + + stream: + - master: + branch: '{stream}' + + jobs: + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-oom-push-upstream-jobs.yaml b/jjb/onap/policy-oom/policy-oom-push-upstream-jobs.yaml similarity index 95% rename from jjb/policy/policy-oom-push-upstream-jobs.yaml rename to jjb/onap/policy-oom/policy-oom-push-upstream-jobs.yaml index 7ea8a5b70..f73f62378 100644 --- a/jjb/policy/policy-oom-push-upstream-jobs.yaml +++ b/jjb/onap/policy-oom/policy-oom-push-upstream-jobs.yaml @@ -28,4 +28,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-push-upstream' + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/policy/policy-oom-rebase-jobs.yaml b/jjb/onap/policy-oom/policy-oom-rebase-jobs.yaml similarity index 96% rename from jjb/policy/policy-oom-rebase-jobs.yaml rename to jjb/onap/policy-oom/policy-oom-rebase-jobs.yaml index a1c39aff9..49643501d 100644 --- a/jjb/policy/policy-oom-rebase-jobs.yaml +++ b/jjb/onap/policy-oom/policy-oom-rebase-jobs.yaml @@ -30,4 +30,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-rebase' + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-parent-push-upstream-jobs.yaml b/jjb/onap/policy-parent/policy-parent-push-upstream-jobs.yaml similarity index 95% rename from jjb/policy/policy-parent-push-upstream-jobs.yaml rename to jjb/onap/policy-parent/policy-parent-push-upstream-jobs.yaml index cd3a972ab..c0f80ba4e 100644 --- a/jjb/policy/policy-parent-push-upstream-jobs.yaml +++ b/jjb/onap/policy-parent/policy-parent-push-upstream-jobs.yaml @@ -28,4 +28,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-push-upstream' + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/policy/policy-parent-rebase-jobs.yaml b/jjb/onap/policy-parent/policy-parent-rebase-jobs.yaml similarity index 96% rename from jjb/policy/policy-parent-rebase-jobs.yaml rename to jjb/onap/policy-parent/policy-parent-rebase-jobs.yaml index 5a356d3e2..3351c12b3 100644 --- a/jjb/policy/policy-parent-rebase-jobs.yaml +++ b/jjb/onap/policy-parent/policy-parent-rebase-jobs.yaml @@ -32,4 +32,4 @@ # branch: '{stream}' jobs: - - '{project-name}-{stream}-rebase' + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-parent-verify-jobs.yaml b/jjb/onap/policy-parent/policy-parent-verify-jobs.yaml similarity index 95% rename from jjb/policy/policy-parent-verify-jobs.yaml rename to jjb/onap/policy-parent/policy-parent-verify-jobs.yaml index 5aed8c5c0..f52238ae5 100644 --- a/jjb/policy/policy-parent-verify-jobs.yaml +++ b/jjb/onap/policy-parent/policy-parent-verify-jobs.yaml @@ -33,4 +33,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-verify-java' + - 'onap-{project-name}-{stream}-verify-java' diff --git a/jjb/onap/policy-pdp/policy-pdp-push-upstream-jobs.yaml b/jjb/onap/policy-pdp/policy-pdp-push-upstream-jobs.yaml new file mode 100644 index 000000000..e251da858 --- /dev/null +++ b/jjb/onap/policy-pdp/policy-pdp-push-upstream-jobs.yaml @@ -0,0 +1,31 @@ +--- +# ============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: policy-pdp-push-upstream + project: policy/pdp + project-name: policy-pdp + stream: + - master: + branch: '{stream}' + + jobs: + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/onap/policy-pdp/policy-pdp-rebase-jobs.yaml b/jjb/onap/policy-pdp/policy-pdp-rebase-jobs.yaml new file mode 100644 index 000000000..2950bd6ab --- /dev/null +++ b/jjb/onap/policy-pdp/policy-pdp-rebase-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 merged to +# policy/pdp project on ONAP Gerrit. +- project: + name: policy-pdp-rebase + project: policy/pdp + project-name: policy-pdp + + stream: + - master: + branch: '{stream}' + + jobs: + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-xacml-pdp-push-upstream-jobs.yaml b/jjb/onap/policy-xacml-pdp/policy-xacml-pdp-push-upstream-jobs.yaml similarity index 95% rename from jjb/policy/policy-xacml-pdp-push-upstream-jobs.yaml rename to jjb/onap/policy-xacml-pdp/policy-xacml-pdp-push-upstream-jobs.yaml index 12393069e..bdeba08a6 100644 --- a/jjb/policy/policy-xacml-pdp-push-upstream-jobs.yaml +++ b/jjb/onap/policy-xacml-pdp/policy-xacml-pdp-push-upstream-jobs.yaml @@ -28,4 +28,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-push-upstream' + - 'onap-{project-name}-{stream}-push-upstream' diff --git a/jjb/policy/policy-xacml-pdp-rebase-jobs.yaml b/jjb/onap/policy-xacml-pdp/policy-xacml-pdp-rebase-jobs.yaml similarity index 96% rename from jjb/policy/policy-xacml-pdp-rebase-jobs.yaml rename to jjb/onap/policy-xacml-pdp/policy-xacml-pdp-rebase-jobs.yaml index 8b7d86808..8f0238742 100644 --- a/jjb/policy/policy-xacml-pdp-rebase-jobs.yaml +++ b/jjb/onap/policy-xacml-pdp/policy-xacml-pdp-rebase-jobs.yaml @@ -32,4 +32,4 @@ # branch: '{stream}' jobs: - - '{project-name}-{stream}-rebase' + - 'onap-{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-xacml-pdp-verify-jobs.yaml b/jjb/onap/policy-xacml-pdp/policy-xacml-pdp-verify-jobs.yaml similarity index 95% rename from jjb/policy/policy-xacml-pdp-verify-jobs.yaml rename to jjb/onap/policy-xacml-pdp/policy-xacml-pdp-verify-jobs.yaml index 0eaf44be5..5c27cb041 100644 --- a/jjb/policy/policy-xacml-pdp-verify-jobs.yaml +++ b/jjb/onap/policy-xacml-pdp/policy-xacml-pdp-verify-jobs.yaml @@ -33,4 +33,4 @@ branch: '{stream}' jobs: - - '{project-name}-{stream}-verify-java' + - 'onap-{project-name}-{stream}-verify-java' -- 2.25.1