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/dcaegen2-platform-blueprints/dcaegen2-platform-blueprints-rebase-jobs.yaml b/jjb/onap/dcaegen2-platform-blueprints/dcaegen2-platform-blueprints-rebase-jobs.yaml
index 80095e8..aff05ce 100644
--- a/jjb/onap/dcaegen2-platform-blueprints/dcaegen2-platform-blueprints-rebase-jobs.yaml
+++ b/jjb/onap/dcaegen2-platform-blueprints/dcaegen2-platform-blueprints-rebase-jobs.yaml
@@ -20,16 +20,9 @@
# this job gets triggered when a change is merged to
# dcaegen2/platform/blueprints project on ONAP Gerrit.
- project:
-
name: dcaegen2-platform-blueprints-rebase
project: dcaegen2/platform/blueprints
project-name: dcaegen2-platform-blueprints
- stream:
- - master:
- branch: '{stream}'
- - casablanca:
- branch: '{stream}'
-
jobs:
- - 'onap-{project-name}-{stream}-rebase'
+ - 'onap-{project-name}-rebase'