ONAP: Add jobs for sdnc projects
The jobs for below projects are added:
- sdnc/core
- sdnc/adaptors
- sdnc/northbound
- sdnc/plugins
Change-Id: I4540ed58a40a4501b924dc266d43aadf4c59abc3
diff --git a/jjb/onap/sdnc-adaptors/sdnc-adaptors-push-upstream.yaml b/jjb/onap/sdnc-adaptors/sdnc-adaptors-push-upstream.yaml
new file mode 100644
index 0000000..9341e05
--- /dev/null
+++ b/jjb/onap/sdnc-adaptors/sdnc-adaptors-push-upstream.yaml
@@ -0,0 +1,28 @@
+---
+# ============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: sdnc-adaptors-push-upstream
+ project: sdnc/adaptors
+ project-name: sdnc-adaptors
+
+ jobs:
+ - 'onap-{project-name}-push-upstream'
diff --git a/jjb/onap/sdnc-adaptors/sdnc-adaptors-rebase.yaml b/jjb/onap/sdnc-adaptors/sdnc-adaptors-rebase.yaml
new file mode 100644
index 0000000..2d8ebb4
--- /dev/null
+++ b/jjb/onap/sdnc-adaptors/sdnc-adaptors-rebase.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
+# sdnc/adaptors project on ONAP Gerrit.
+- project:
+ name: sdnc-adaptors-rebase
+ project: sdnc/adaptors
+ project-name: sdnc-adaptors
+
+ jobs:
+ - 'onap-{project-name}-rebase'
diff --git a/jjb/onap/sdnc-adaptors/sdnc-adaptors-verify.yaml b/jjb/onap/sdnc-adaptors/sdnc-adaptors-verify.yaml
new file mode 100644
index 0000000..d547e57
--- /dev/null
+++ b/jjb/onap/sdnc-adaptors/sdnc-adaptors-verify.yaml
@@ -0,0 +1,32 @@
+---
+# ============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 proposed to
+# sdnc/adaptors project on Nordix Gerrit.
+- project:
+ name: sdnc-adaptors-verify
+ project: sdnc/adaptors
+ project-name: sdnc-adaptors
+ stream:
+ - master:
+ branch: '{stream}'
+
+ jobs:
+ - 'onap-{project-name}-{stream}-verify-java'
diff --git a/jjb/onap/sdnc-core/sdnc-core-push-upstream.yaml b/jjb/onap/sdnc-core/sdnc-core-push-upstream.yaml
new file mode 100644
index 0000000..298ee59
--- /dev/null
+++ b/jjb/onap/sdnc-core/sdnc-core-push-upstream.yaml
@@ -0,0 +1,28 @@
+---
+# ============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: sdnc-core-push-upstream
+ project: sdnc/core
+ project-name: sdnc-core
+
+ jobs:
+ - 'onap-{project-name}-push-upstream'
diff --git a/jjb/onap/sdnc-core/sdnc-core-rebase.yaml b/jjb/onap/sdnc-core/sdnc-core-rebase.yaml
new file mode 100644
index 0000000..c7a8696
--- /dev/null
+++ b/jjb/onap/sdnc-core/sdnc-core-rebase.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
+# sdnc/core project on ONAP Gerrit.
+- project:
+ name: sdnc-core-rebase
+ project: sdnc/core
+ project-name: sdnc-core
+
+ jobs:
+ - 'onap-{project-name}-rebase'
diff --git a/jjb/onap/sdnc-core/sdnc-core-verify.yaml b/jjb/onap/sdnc-core/sdnc-core-verify.yaml
new file mode 100644
index 0000000..cb17120
--- /dev/null
+++ b/jjb/onap/sdnc-core/sdnc-core-verify.yaml
@@ -0,0 +1,32 @@
+---
+# ============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 proposed to
+# sdnc/core project on Nordix Gerrit.
+- project:
+ name: sdnc-core-verify
+ project: sdnc/core
+ project-name: sdnc-core
+ stream:
+ - master:
+ branch: '{stream}'
+
+ jobs:
+ - 'onap-{project-name}-{stream}-verify-java'
diff --git a/jjb/onap/sdnc-northbound/sdnc-northbound-push-upstream.yaml b/jjb/onap/sdnc-northbound/sdnc-northbound-push-upstream.yaml
new file mode 100644
index 0000000..9e9594e
--- /dev/null
+++ b/jjb/onap/sdnc-northbound/sdnc-northbound-push-upstream.yaml
@@ -0,0 +1,28 @@
+---
+# ============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: sdnc-northbound-push-upstream
+ project: sdnc/northbound
+ project-name: sdnc-northbound
+
+ jobs:
+ - 'onap-{project-name}-push-upstream'
diff --git a/jjb/onap/sdnc-northbound/sdnc-northbound-rebase.yaml b/jjb/onap/sdnc-northbound/sdnc-northbound-rebase.yaml
new file mode 100644
index 0000000..a10080a
--- /dev/null
+++ b/jjb/onap/sdnc-northbound/sdnc-northbound-rebase.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
+# sdnc/northbound project on ONAP Gerrit.
+- project:
+ name: sdnc-northbound-rebase
+ project: sdnc/northbound
+ project-name: sdnc-northbound
+
+ jobs:
+ - 'onap-{project-name}-rebase'
diff --git a/jjb/onap/sdnc-northbound/sdnc-northbound-verify.yaml b/jjb/onap/sdnc-northbound/sdnc-northbound-verify.yaml
new file mode 100644
index 0000000..1374097
--- /dev/null
+++ b/jjb/onap/sdnc-northbound/sdnc-northbound-verify.yaml
@@ -0,0 +1,32 @@
+---
+# ============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 proposed to
+# sdnc/northbound project on Nordix Gerrit.
+- project:
+ name: sdnc-northbound-verify
+ project: sdnc/northbound
+ project-name: sdnc-northbound
+ stream:
+ - master:
+ branch: '{stream}'
+
+ jobs:
+ - 'onap-{project-name}-{stream}-verify-java'
diff --git a/jjb/onap/sdnc-plugins/sdnc-plugins-push-upstream.yaml b/jjb/onap/sdnc-plugins/sdnc-plugins-push-upstream.yaml
new file mode 100644
index 0000000..2a5960d
--- /dev/null
+++ b/jjb/onap/sdnc-plugins/sdnc-plugins-push-upstream.yaml
@@ -0,0 +1,28 @@
+---
+# ============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: sdnc-plugins-push-upstream
+ project: sdnc/plugins
+ project-name: sdnc-plugins
+
+ jobs:
+ - 'onap-{project-name}-push-upstream'
diff --git a/jjb/onap/sdnc-plugins/sdnc-plugins-rebase.yaml b/jjb/onap/sdnc-plugins/sdnc-plugins-rebase.yaml
new file mode 100644
index 0000000..7404002
--- /dev/null
+++ b/jjb/onap/sdnc-plugins/sdnc-plugins-rebase.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
+# sdnc/plugins project on ONAP Gerrit.
+- project:
+ name: sdnc-plugins-rebase
+ project: sdnc/plugins
+ project-name: sdnc-plugins
+
+ jobs:
+ - 'onap-{project-name}-rebase'
diff --git a/jjb/onap/sdnc-plugins/sdnc-plugins-verify.yaml b/jjb/onap/sdnc-plugins/sdnc-plugins-verify.yaml
new file mode 100644
index 0000000..cde3899
--- /dev/null
+++ b/jjb/onap/sdnc-plugins/sdnc-plugins-verify.yaml
@@ -0,0 +1,32 @@
+---
+# ============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 proposed to
+# sdnc/plugins project on Nordix Gerrit.
+- project:
+ name: sdnc-plugins-verify
+ project: sdnc/plugins
+ project-name: sdnc-plugins
+ stream:
+ - master:
+ branch: '{stream}'
+
+ jobs:
+ - 'onap-{project-name}-{stream}-verify-java'