X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fonap%2Fglobal-templates-onap-push-upstream.yaml;h=aefd2f18bef6804d30756f9117d8fa38cc1959ac;hb=da7ada67ac1e0ea0fda274e36f76cfa991ca8ade;hp=ab19211c23039d9384a6614ef5b82fc8cde6514b;hpb=c8dcf1c591156a27f450e52dbfc039c5ab4849aa;p=infra%2Fcicd.git diff --git a/jjb/onap/global-templates-onap-push-upstream.yaml b/jjb/onap/global-templates-onap-push-upstream.yaml index ab19211c..aefd2f18 100644 --- a/jjb/onap/global-templates-onap-push-upstream.yaml +++ b/jjb/onap/global-templates-onap-push-upstream.yaml @@ -1,7 +1,7 @@ - job-template: - name: 'onap-{project-name}-{stream}-push-upstream' + name: 'onap-{project-name}-push-upstream' - node: onap-ubuntu1604 + node: infra-ubuntu1804 disabled: false @@ -11,15 +11,16 @@ - logrotate parameters: - - project-parameters: - project: 'onap/{project}' - branch: '{branch}' + - string: + name: PROJECT + default: 'onap/{project}' + description: JJB configured PROJECT parameter to identify a Nordix Gerrit project - nordix-gerrit-parameters scm: - git-scm-gerrit: ssh-credentials-id: nordixinfra-nordix-gerrit-ssh - branch: '{branch}' + branch: $GERRIT_BRANCH refspec: $GERRIT_REFSPEC wipe_workspace: true clean_before: false @@ -27,7 +28,7 @@ triggers: - nordix-gerrit-push-upstream: project: 'onap/{project}' - branch: '{branch}' + branch: '**' files: '**' wrappers: