add policy opa-pap
Change-Id: I88b21af9e6b2a7b661baffc931969b2c012fc8eb
Signed-off-by: afenner <Andrew.fenner@est.tech>
diff --git a/jjb/onap/policy-opa-pdp/policy-opa-pdp-push-upstream-jobs.yaml b/jjb/onap/policy-opa-pdp/policy-opa-pdp-push-upstream-jobs.yaml
new file mode 100644
index 0000000..1ab8580
--- /dev/null
+++ b/jjb/onap/policy-opa-pdp/policy-opa-pdp-push-upstream-jobs.yaml
@@ -0,0 +1,28 @@
+---
+# ============LICENSE_START=======================================================
+# Copyright (C) 2024 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-opa-pdp-push-upstream
+ project: policy/opa-pdp
+ project-name: policy-opa-pdp
+
+ jobs:
+ - 'onap-{project-name}-push-upstream'
diff --git a/jjb/onap/policy-opa-pdp/policy-opa-pdp-rebase-jobs.yaml b/jjb/onap/policy-opa-pdp/policy-opa-pdp-rebase-jobs.yaml
new file mode 100644
index 0000000..6e19b25
--- /dev/null
+++ b/jjb/onap/policy-opa-pdp/policy-opa-pdp-rebase-jobs.yaml
@@ -0,0 +1,29 @@
+---
+# ============LICENSE_START=======================================================
+# Copyright (C) 2024 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/opa-pdp project on ONAP Gerrit.
+- project:
+ name: policy-opa-pdp-rebase
+ project: policy/opa-pdp
+ project-name: policy-opa-pdp
+
+ jobs:
+ - 'onap-{project-name}-rebase'
diff --git a/jjb/onap/policy-opa-pdp/policy-opa-pdp-verify-jobs.yaml b/jjb/onap/policy-opa-pdp/policy-opa-pdp-verify-jobs.yaml
new file mode 100644
index 0000000..a87311a
--- /dev/null
+++ b/jjb/onap/policy-opa-pdp/policy-opa-pdp-verify-jobs.yaml
@@ -0,0 +1,35 @@
+---
+#
+# ============LICENSE_START=======================================================
+# Copyright (C) 2024 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/opa-pdp project on Nordix Gerrit.
+
+- project:
+ name: policy-opa-pdp-verify
+ project: policy/opa-pdp
+ project-name: policy-opa-pdp
+
+ stream:
+ - master:
+ branch: '{stream}'
+ jdk-version: java-17
+
+ jobs:
+ - 'onap-{project-name}-{stream}-verify-java'