Merge "ONAP: Adding Jenkins jobs for oparent repo"
authorRobert Tomczyk <robert.tomczyk@est.tech>
Mon, 25 Nov 2019 15:15:46 +0000 (15:15 +0000)
committerNordix Gerrit <gerrit@nordix.org>
Mon, 25 Nov 2019 15:15:46 +0000 (15:15 +0000)
jjb/geode-native/apache-geode-native-slave/slave_setup.sh
jjb/onap/oparent/oparent-push-upstream-jobs.yaml [new file with mode: 0644]
jjb/onap/oparent/oparent-rebase-jobs.yaml [new file with mode: 0644]
jjb/onap/oparent/oparent-verify-jobs.yaml [new file with mode: 0644]

index 3dc2c5d37fe9c0e4ef836bc26060265f12240ed8..4b216c1bc6a658248e0414c7bb899c67a5809ee0 100755 (executable)
@@ -160,7 +160,7 @@ case ${ID,,} in
     try=0
     while sudo lsof ${DPKG_LOCK}  > /dev/null 2>&1 ; do
       echo "DPKG file locked: ${DPKG_LOCK}."
-      echo "   Waiting for another pkg instalaltion process to finish ..."
+      echo "   Waiting for another pkg installation process to finish ..."
       sleep 10
       if [[ ${try} -gt 60 ]] ; then
         echo "ERROR: Max number of re-tries reached, exiting..."
diff --git a/jjb/onap/oparent/oparent-push-upstream-jobs.yaml b/jjb/onap/oparent/oparent-push-upstream-jobs.yaml
new file mode 100644 (file)
index 0000000..9ef8c83
--- /dev/null
@@ -0,0 +1,27 @@
+---
+# ============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: oparent-push-upstream
+    project: oparent
+    project-name: oparent
+
+    jobs:
+      - 'onap-{project-name}-push-upstream'
diff --git a/jjb/onap/oparent/oparent-rebase-jobs.yaml b/jjb/onap/oparent/oparent-rebase-jobs.yaml
new file mode 100644 (file)
index 0000000..24852b3
--- /dev/null
@@ -0,0 +1,29 @@
+---
+# ============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
+# oparent project on ONAP Gerrit.
+
+- project:
+    name: oparent-rebase
+    project: oparent
+    project-name: oparent
+
+    jobs:
+      - 'onap-{project-name}-rebase'
diff --git a/jjb/onap/oparent/oparent-verify-jobs.yaml b/jjb/onap/oparent/oparent-verify-jobs.yaml
new file mode 100644 (file)
index 0000000..5b5145b
--- /dev/null
@@ -0,0 +1,34 @@
+---
+#
+# ============LICENSE_START=======================================================
+#  Copyright (C) 2018-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 proposed to
+# oparent project on Nordix Gerrit.
+
+- project:
+    name: oparent-verify
+    project: oparent
+    project-name: oparent
+
+    stream:
+      - master:
+          branch: '{stream}'
+
+    jobs:
+      - 'onap-{project-name}-{stream}-verify-java'