ONAP: Creating ONAP repositories under 'onap' namespace
For the ONAP repositories that have open reviews pending
in the Nordix Gerrit we have to setup separate jobs
to keep both old and new repos in sync with ONAP gerrit
until the reviews are closed for old reositories.
-policy/pap
-policy/apex-pdp
-appc
-dcaegen2
-dcaegen2/collectors/datafile
-dcaegen2/services/pm-mapper
-dmaap/datarouter
-integration
-integration/csit
-sdc
-so
-so/docker-config
Change-Id: I5f4fb802c136382be5456ac4ee2e3702ffa73f47
diff --git a/jjb/onap/integration/integration-rebase-jobs.yaml b/jjb/onap/integration/integration-rebase-jobs.yaml
new file mode 100644
index 0000000..2089a41
--- /dev/null
+++ b/jjb/onap/integration/integration-rebase-jobs.yaml
@@ -0,0 +1,34 @@
+---
+# ============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 merged to
+# integration project on ONAP Gerrit.
+
+- project:
+ name: temp-integration-rebase
+ project: integration
+ project-name: temp-integration
+ stream:
+ - master:
+ branch: '{stream}'
+ - casablanca:
+ branch: '{stream}'
+
+ jobs:
+ - 'onap-{project-name}-{stream}-rebase'
\ No newline at end of file