ONAP: Adding Jenkins jobs for oparent repo
Change-Id: Ib83f54544eb1a0751b5ad29d3edf142707fb9ec8
diff --git a/jjb/geode-native/apache-geode-native-slave/slave_setup.sh b/jjb/geode-native/apache-geode-native-slave/slave_setup.sh
index 3dc2c5d..4b216c1 100755
--- a/jjb/geode-native/apache-geode-native-slave/slave_setup.sh
+++ b/jjb/geode-native/apache-geode-native-slave/slave_setup.sh
@@ -160,7 +160,7 @@
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
index 0000000..9ef8c83
--- /dev/null
+++ b/jjb/onap/oparent/oparent-push-upstream-jobs.yaml
@@ -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
index 0000000..24852b3
--- /dev/null
+++ b/jjb/onap/oparent/oparent-rebase-jobs.yaml
@@ -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
index 0000000..5b5145b
--- /dev/null
+++ b/jjb/onap/oparent/oparent-verify-jobs.yaml
@@ -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'