ONAP: Improve jenkins rebase and push-upstream jobs
- Mirror all branches from ONAP upstream to Nordix Gerrit.
- Fix corrupt zip file problem when pushing to ONAP upstream.
- Cache the git repository on the Jenkins slave nodes
when rebasing repositories.
- Make sure the commit hash in the local repo is the same
as in Nordix Gerrit and the same as the commit hash
in the upstream ONAP gerrit.
- Update ONAP push upstream job to preserve git topics.
- Decrease number of jobs required for ONAP project in Jenkins.
Change-Id: I11973774eaf92d91ccf44a8f659be994fe5e5e69
diff --git a/jjb/onap/ccsdk-platform-plugins/ccsdk-platform-plugins-push-upstream.yaml b/jjb/onap/ccsdk-platform-plugins/ccsdk-platform-plugins-push-upstream.yaml
index 08c409d..1181c3f 100644
--- a/jjb/onap/ccsdk-platform-plugins/ccsdk-platform-plugins-push-upstream.yaml
+++ b/jjb/onap/ccsdk-platform-plugins/ccsdk-platform-plugins-push-upstream.yaml
@@ -23,9 +23,6 @@
name: ccsdk-platfom-plugins-push-upstream
project: ccsdk/platform/plugins
project-name: ccsdk-platfom-plugins
- stream:
- - master:
- branch: '{stream}'
jobs:
- - 'onap-{project-name}-{stream}-push-upstream'
+ - 'onap-{project-name}-push-upstream'
diff --git a/jjb/onap/ccsdk-platform-plugins/ccsdk-platform-plugins-rebase.yaml b/jjb/onap/ccsdk-platform-plugins/ccsdk-platform-plugins-rebase.yaml
index dbe2319..709317c 100644
--- a/jjb/onap/ccsdk-platform-plugins/ccsdk-platform-plugins-rebase.yaml
+++ b/jjb/onap/ccsdk-platform-plugins/ccsdk-platform-plugins-rebase.yaml
@@ -24,9 +24,6 @@
name: ccsdk-platfom-plugins-rebase
project: ccsdk/platform/plugins
project-name: ccsdk-platfom-plugins
- stream:
- - master:
- branch: '{stream}'
jobs:
- - 'onap-{project-name}-{stream}-rebase'
+ - 'onap-{project-name}-rebase'