Added Verify Job Yaml file to Policy Gui Project 16/8816/3
authorbrunomilitzer <bruno.militzer@est.tech>
Tue, 18 May 2021 12:13:37 +0000 (13:13 +0100)
committerBruno Militzer <bruno.militzer@est.tech>
Tue, 18 May 2021 12:32:22 +0000 (12:32 +0000)
There is no yaml file for the Policy Gui Project, so by default jenkins would not verify the code for the developer.

Change-Id: Ia5f188c099de77caaf90227119d7c172a9ee1d20
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
jjb/onap/policy-gui/policy-gui-verify-jobs.yaml [new file with mode: 0644]

diff --git a/jjb/onap/policy-gui/policy-gui-verify-jobs.yaml b/jjb/onap/policy-gui/policy-gui-verify-jobs.yaml
new file mode 100644 (file)
index 0000000..8d7530f
--- /dev/null
@@ -0,0 +1,34 @@
+---
+#
+# ============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/gui project on Nordix Gerrit.
+
+- project:
+    name: policy-gui-verify
+    project: policy/gui
+    project-name: policy-gui
+
+    stream:
+      - 'master':
+          branch: '{stream}'
+          jdk-version: java-11
+    jobs:
+      - 'onap-{project-name}-{stream}-verify-java'