ONAP: Moving policy repos under 'onap' namespace 67/1467/1
authorrobert.tomczyk <robert.tomczyk@est.tech>
Tue, 25 Jun 2019 09:27:00 +0000 (10:27 +0100)
committerrobert.tomczyk <robert.tomczyk@est.tech>
Tue, 25 Jun 2019 09:27:00 +0000 (10:27 +0100)
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

32 files changed:
jjb/onap/policy-common/policy-common-push-upstream-jobs.yaml [moved from jjb/policy/policy-common-push-upstream-jobs.yaml with 95% similarity]
jjb/onap/policy-common/policy-common-rebase-jobs.yaml [moved from jjb/policy/policy-common-rebase-jobs.yaml with 96% similarity]
jjb/onap/policy-common/policy-common-verify-jobs.yaml [moved from jjb/policy/policy-common-verify-jobs.yaml with 95% similarity]
jjb/onap/policy-core/policy-core-push-upstream-jobs.yaml [moved from jjb/policy/policy-core-push-upstream-jobs.yaml with 95% similarity]
jjb/onap/policy-core/policy-core-rebase-jobs.yaml [moved from jjb/policy/policy-core-rebase-jobs.yaml with 96% similarity]
jjb/onap/policy-core/policy-core-verify-jobs.yaml [moved from jjb/policy/policy-core-verify-jobs.yaml with 95% similarity]
jjb/onap/policy-distribution/policy-distribution-push-upstream-jobs.yaml [moved from jjb/policy/policy-distribution-push-upstream-jobs.yaml with 95% similarity]
jjb/onap/policy-distribution/policy-distribution-rebase-jobs.yaml [moved from jjb/policy/policy-distribution-rebase-jobs.yaml with 96% similarity]
jjb/onap/policy-distribution/policy-distribution-verify-jobs.yaml [moved from jjb/policy/policy-distribution-verify-jobs.yaml with 96% similarity]
jjb/onap/policy-docker/policy-docker-push-upstream-jobs.yaml [new file with mode: 0644]
jjb/onap/policy-docker/policy-docker-rebase-jobs.yaml [new file with mode: 0644]
jjb/onap/policy-drools-applications/policy-drools-applications-push-upstream-jobs.yaml [moved from jjb/policy/policy-drools-applications-push-upstream-jobs.yaml with 95% similarity]
jjb/onap/policy-drools-applications/policy-drools-applications-rebase-jobs.yaml [moved from jjb/policy/policy-drools-applications-rebase-jobs.yaml with 96% similarity]
jjb/onap/policy-drools-applications/policy-drools-applications-verify-jobs.yaml [moved from jjb/policy/policy-drools-applications-verify-jobs.yaml with 96% similarity]
jjb/onap/policy-drools-pdp/policy-drools-pdp-push-upstream-jobs.yaml [moved from jjb/policy/policy-drools-pdp-push-upstream-jobs.yaml with 95% similarity]
jjb/onap/policy-drools-pdp/policy-drools-pdp-rebase-jobs.yaml [moved from jjb/policy/policy-drools-pdp-rebase-jobs.yaml with 96% similarity]
jjb/onap/policy-drools-pdp/policy-drools-pdp-verify-jobs.yaml [moved from jjb/policy/policy-drools-pdp-verify-jobs.yaml with 95% similarity]
jjb/onap/policy-engine/policy-engine-push-upstream-jobs.yaml [moved from jjb/policy/policy-engine-push-upstream-jobs.yaml with 95% similarity]
jjb/onap/policy-engine/policy-engine-rebase-jobs.yaml [moved from jjb/policy/policy-engine-rebase-jobs.yaml with 96% similarity]
jjb/onap/policy-engine/policy-engine-verify-jobs.yaml [moved from jjb/policy/policy-engine-verify-jobs.yaml with 95% similarity]
jjb/onap/policy-gui/policy-gui-push-upstream-jobs.yaml [new file with mode: 0644]
jjb/onap/policy-gui/policy-gui-rebase-jobs.yaml [new file with mode: 0644]
jjb/onap/policy-oom/policy-oom-push-upstream-jobs.yaml [moved from jjb/policy/policy-oom-push-upstream-jobs.yaml with 95% similarity]
jjb/onap/policy-oom/policy-oom-rebase-jobs.yaml [moved from jjb/policy/policy-oom-rebase-jobs.yaml with 96% similarity]
jjb/onap/policy-parent/policy-parent-push-upstream-jobs.yaml [moved from jjb/policy/policy-parent-push-upstream-jobs.yaml with 95% similarity]
jjb/onap/policy-parent/policy-parent-rebase-jobs.yaml [moved from jjb/policy/policy-parent-rebase-jobs.yaml with 96% similarity]
jjb/onap/policy-parent/policy-parent-verify-jobs.yaml [moved from jjb/policy/policy-parent-verify-jobs.yaml with 95% similarity]
jjb/onap/policy-pdp/policy-pdp-push-upstream-jobs.yaml [new file with mode: 0644]
jjb/onap/policy-pdp/policy-pdp-rebase-jobs.yaml [new file with mode: 0644]
jjb/onap/policy-xacml-pdp/policy-xacml-pdp-push-upstream-jobs.yaml [moved from jjb/policy/policy-xacml-pdp-push-upstream-jobs.yaml with 95% similarity]
jjb/onap/policy-xacml-pdp/policy-xacml-pdp-rebase-jobs.yaml [moved from jjb/policy/policy-xacml-pdp-rebase-jobs.yaml with 96% similarity]
jjb/onap/policy-xacml-pdp/policy-xacml-pdp-verify-jobs.yaml [moved from jjb/policy/policy-xacml-pdp-verify-jobs.yaml with 95% similarity]

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 829b79784033bbccdf035a168e3a4364455dce9c..3af2ade777647d2c2e33e6a745137e07c078a6b2 100644 (file)
@@ -28,4 +28,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-push-upstream'
+      - 'onap-{project-name}-{stream}-push-upstream'
similarity index 96%
rename from jjb/policy/policy-common-rebase-jobs.yaml
rename to jjb/onap/policy-common/policy-common-rebase-jobs.yaml
index bc968c7201d3d014b65e67031955703336a44180..4812096dfa4eec005d0a8aab85f0138b4c127606 100644 (file)
@@ -32,4 +32,4 @@
 #          branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-rebase'
+      - 'onap-{project-name}-{stream}-rebase'
similarity index 95%
rename from jjb/policy/policy-common-verify-jobs.yaml
rename to jjb/onap/policy-common/policy-common-verify-jobs.yaml
index 6dbd14b00733c5c1bb6c6f9ddcf3ae20eeb2cbc0..9066bf7eb1589d17cbf36377c9ac352d682d1617 100644 (file)
@@ -33,4 +33,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-verify-java'
+      - 'onap-{project-name}-{stream}-verify-java'
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 10baafd55f31d6cb36b53f2df816bc95da55cae0..6f5db049f5d64bcdeaef08ac16a0f0724f6ba6b2 100644 (file)
@@ -28,4 +28,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-push-upstream'
+      - 'onap-{project-name}-{stream}-push-upstream'
similarity index 96%
rename from jjb/policy/policy-core-rebase-jobs.yaml
rename to jjb/onap/policy-core/policy-core-rebase-jobs.yaml
index d96e242546f416160c2e3df8787a512e6a4a33fd..b1d1d21e5cef1e0016803ed97c74a5e091c4731b 100644 (file)
@@ -32,4 +32,4 @@
 #          branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-rebase'
+      - 'onap-{project-name}-{stream}-rebase'
similarity index 95%
rename from jjb/policy/policy-core-verify-jobs.yaml
rename to jjb/onap/policy-core/policy-core-verify-jobs.yaml
index 7171eb014b0baf6cc3efc099aee2e3ac72bee4e3..7f521dc2b8cd03c569521fd5dbc14ca7a23b592c 100644 (file)
@@ -33,4 +33,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-verify-java'
+      - 'onap-{project-name}-{stream}-verify-java'
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 82ff3df599a5de16e6e1f014b7c2fe2d71765c10..be5cc010c8258bf1e21cc874e661c2d99953542b 100644 (file)
@@ -28,4 +28,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-push-upstream'
+      - 'onap-{project-name}-{stream}-push-upstream'
similarity index 96%
rename from jjb/policy/policy-distribution-rebase-jobs.yaml
rename to jjb/onap/policy-distribution/policy-distribution-rebase-jobs.yaml
index 0d8d5c4a3e6e789956d63801d4f03b509ba49632..59dd9ffea0952e7960090a9e43da0e9082fbdadd 100644 (file)
@@ -32,4 +32,4 @@
 #          branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-rebase'
+      - 'onap-{project-name}-{stream}-rebase'
similarity index 96%
rename from jjb/policy/policy-distribution-verify-jobs.yaml
rename to jjb/onap/policy-distribution/policy-distribution-verify-jobs.yaml
index 7660c4307935770b8e86e21ad2b17e87b4cce7a2..8c542fe6164f380e4e36ef44072b861331084c71 100644 (file)
@@ -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 (file)
index 0000000..1f9ea8a
--- /dev/null
@@ -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 (file)
index 0000000..c3499e9
--- /dev/null
@@ -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'
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 b10c0e55cd5a080ba5ec587ee1ba6b2e10edf0b1..703bfb7215ff14a367abe26464fafe3204f589d4 100644 (file)
@@ -28,4 +28,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-push-upstream'
+      - 'onap-{project-name}-{stream}-push-upstream'
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 c29ae60c35ffc9fe05ca5b3302dc2436a48e47a0..8ef5b614d499536aa5b17b26ad3db6b9709c1565 100644 (file)
@@ -32,4 +32,4 @@
 #          branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-rebase'
+      - 'onap-{project-name}-{stream}-rebase'
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 0e37023224f90b32db0ae38211a9ae8a733d4c69..0536c879b918e108c164780df71451d2999f18d1 100644 (file)
@@ -33,4 +33,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-verify-java'
+      - 'onap-{project-name}-{stream}-verify-java'
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 da545985877d372c6148b6938f74541a805d4e5a..0ee571da2ea18d20fdbc456048524b3929d94eb4 100644 (file)
@@ -28,4 +28,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-push-upstream'
+      - 'onap-{project-name}-{stream}-push-upstream'
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 ea4bcfcf33e9d2b26dd118c1875f4cdbec116994..6f0f0d819ce4081bd21852eb98540dd8a6732b84 100644 (file)
@@ -32,4 +32,4 @@
 #          branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-rebase'
+      - 'onap-{project-name}-{stream}-rebase'
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 5be532e976c59df72b2914e2f20f714729ff1f3f..fc0971562d4504e10fcc064e74d30a7647d670d2 100644 (file)
@@ -33,4 +33,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-verify-java'
+      - 'onap-{project-name}-{stream}-verify-java'
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 4017b42b021061b41bdb47b561ea1a66b0760069..f9765deda2fe1cce66249664b50692e126febefd 100644 (file)
@@ -28,4 +28,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-push-upstream'
+      - 'onap-{project-name}-{stream}-push-upstream'
similarity index 96%
rename from jjb/policy/policy-engine-rebase-jobs.yaml
rename to jjb/onap/policy-engine/policy-engine-rebase-jobs.yaml
index be3221ed8b18df6166ed65aa3147408df233c05e..24da285434e6c8fb847f5ba7e68cdf9333c6e5df 100644 (file)
@@ -32,4 +32,4 @@
 #          branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-rebase'
+      - 'onap-{project-name}-{stream}-rebase'
similarity index 95%
rename from jjb/policy/policy-engine-verify-jobs.yaml
rename to jjb/onap/policy-engine/policy-engine-verify-jobs.yaml
index e947669e8395c8bd0614c38fe812f34a45e7078b..325aae33dd8c7eced653dd090753d7c09dab8bb1 100644 (file)
@@ -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 (file)
index 0000000..9176bf0
--- /dev/null
@@ -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 (file)
index 0000000..c143b90
--- /dev/null
@@ -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'
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 7ea8a5b70ede8f001da81d96b1422205f90af8b6..f73f6237839b3cf64d62ad8ff1fc3d33a599b07d 100644 (file)
@@ -28,4 +28,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-push-upstream'
+      - 'onap-{project-name}-{stream}-push-upstream'
similarity index 96%
rename from jjb/policy/policy-oom-rebase-jobs.yaml
rename to jjb/onap/policy-oom/policy-oom-rebase-jobs.yaml
index a1c39aff93cb24c817a42848be701ef5e3dfbbae..49643501d1a9e98c1910c45bc894bf846e998a83 100644 (file)
@@ -30,4 +30,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-rebase'
+      - 'onap-{project-name}-{stream}-rebase'
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 cd3a972ab3ac56ab336314cb97e9b217ef71c0c8..c0f80ba4eb33d74fad5219f7b23250c3b53ef603 100644 (file)
@@ -28,4 +28,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-push-upstream'
+      - 'onap-{project-name}-{stream}-push-upstream'
similarity index 96%
rename from jjb/policy/policy-parent-rebase-jobs.yaml
rename to jjb/onap/policy-parent/policy-parent-rebase-jobs.yaml
index 5a356d3e2c4cc211c563e1c5b7c8f3c81935d623..3351c12b360451afa526c2f4837c1fd8f4b974dd 100644 (file)
@@ -32,4 +32,4 @@
 #          branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-rebase'
+      - 'onap-{project-name}-{stream}-rebase'
similarity index 95%
rename from jjb/policy/policy-parent-verify-jobs.yaml
rename to jjb/onap/policy-parent/policy-parent-verify-jobs.yaml
index 5aed8c5c0280bb6e153046bf8553e1a6e55e54eb..f52238ae57863575812f443427aba836c452d367 100644 (file)
@@ -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 (file)
index 0000000..e251da8
--- /dev/null
@@ -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 (file)
index 0000000..2950bd6
--- /dev/null
@@ -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'
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 12393069ec9d033a31e00b38ee0c6aa4c3078151..bdeba08a648b4b4a0b81c477a05d207ea173d60e 100644 (file)
@@ -28,4 +28,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-push-upstream'
+      - 'onap-{project-name}-{stream}-push-upstream'
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 8b7d86808b9aba250f98ce2ba2d3cef71b2d7e5a..8f0238742f198737adb83f1d72f35e746ae795a0 100644 (file)
@@ -32,4 +32,4 @@
 #          branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-rebase'
+      - 'onap-{project-name}-{stream}-rebase'
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 0eaf44be5c30a03613fb826ddf4beb29c48c7a59..5c27cb041320c8936a14de7f8506b435ea510ef6 100644 (file)
@@ -33,4 +33,4 @@
           branch: '{stream}'
 
     jobs:
-      - '{project-name}-{stream}-verify-java'
+      - 'onap-{project-name}-{stream}-verify-java'