Add verify and rebase jobs for policy common and distribution 10/210/2
authorliamfallon <liam.fallon@est.tech>
Wed, 19 Dec 2018 12:52:49 +0000 (12:52 +0000)
committerliamfallon <liam.fallon@est.tech>
Wed, 19 Dec 2018 12:54:55 +0000 (12:54 +0000)
Change-Id: Id15205b7676a1f401ab3ce2a142033e388f9bd9e
Signed-off-by: liamfallon <liam.fallon@est.tech>
jjb/policy/policy-apex-pdp-verify-jobs.yaml
jjb/policy/policy-common-rebase-jobs.yaml [new file with mode: 0644]
jjb/policy/policy-common-verify-jobs.yaml [new file with mode: 0644]
jjb/policy/policy-distribution-rebase-jobs.yaml [new file with mode: 0644]
jjb/policy/policy-distribution-verify-jobs.yaml [new file with mode: 0644]

index ee1470bb7302419a062002058984e18a75ad8972..bc048d9f97dcabcc635c5ebe2465f63e648b815d 100644 (file)
@@ -32,4 +32,3 @@
 
     jobs:
       - '{project-name}-{stream}-verify-java'
-
diff --git a/jjb/policy/policy-common-rebase-jobs.yaml b/jjb/policy/policy-common-rebase-jobs.yaml
new file mode 100644 (file)
index 0000000..15fa9d7
--- /dev/null
@@ -0,0 +1,16 @@
+---
+# this job gets triggered when a change is merged to
+# policy/common project on ONAP Gerrit.
+- project:
+    name: policy-common-rebase
+    project: policy/common
+    project-name: policy-common
+
+    stream:
+      - master:
+          branch: '{stream}'
+#      - casablanca:
+#          branch: '{stream}'
+
+    jobs:
+      - '{project-name}-{stream}-rebase'
diff --git a/jjb/policy/policy-common-verify-jobs.yaml b/jjb/policy/policy-common-verify-jobs.yaml
new file mode 100644 (file)
index 0000000..8e0cd6f
--- /dev/null
@@ -0,0 +1,36 @@
+---
+#
+# ============LICENSE_START=======================================================
+#  Copyright (C) 2018 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/common project on Nordix Gerrit.
+
+- project:
+    name: policy-common-verify
+    project: policy/common
+    project-name: policy-common
+
+    stream:
+      - 'master':
+          branch: '{stream}'
+      - 'nordix-dev':
+          branch: '{stream}'
+
+    jobs:
+      - '{project-name}-{stream}-verify-java'
diff --git a/jjb/policy/policy-distribution-rebase-jobs.yaml b/jjb/policy/policy-distribution-rebase-jobs.yaml
new file mode 100644 (file)
index 0000000..48ac4eb
--- /dev/null
@@ -0,0 +1,16 @@
+---
+# this job gets triggered when a change is merged to
+# policy/distribution project on ONAP Gerrit.
+- project:
+    name: policy-distribution-rebase
+    project: policy/distribution
+    project-name: policy-distribution
+
+    stream:
+      - master:
+          branch: '{stream}'
+#      - casablanca:
+#          branch: '{stream}'
+
+    jobs:
+      - '{project-name}-{stream}-rebase'
diff --git a/jjb/policy/policy-distribution-verify-jobs.yaml b/jjb/policy/policy-distribution-verify-jobs.yaml
new file mode 100644 (file)
index 0000000..d8f9480
--- /dev/null
@@ -0,0 +1,36 @@
+---
+#
+# ============LICENSE_START=======================================================
+#  Copyright (C) 2018 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/distribution project on Nordix Gerrit.
+
+- project:
+    name: policy-distribution-verify
+    project: policy/distribution
+    project-name: policy-distribution
+
+    stream:
+      - 'master':
+          branch: '{stream}'
+      - 'nordix-dev':
+          branch: '{stream}'
+
+    jobs:
+      - '{project-name}-{stream}-verify-java'