Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add job to build OOM Helm Chart from upstream
[infra/cicd.git]
/
jjb
/
onap
/
global-templates-onap-push-upstream.yaml
diff --git
a/jjb/onap/global-templates-onap-push-upstream.yaml
b/jjb/onap/global-templates-onap-push-upstream.yaml
index 5e44ed85817205a23560a05ca367ea4222e59322..c4de3bd3e849a673e092dff0b6a2fbaa7301285c 100644
(file)
--- a/
jjb/onap/global-templates-onap-push-upstream.yaml
+++ b/
jjb/onap/global-templates-onap-push-upstream.yaml
@@
-1,41
+1,41
@@
- job-template:
- job-template:
- name: 'onap-{project-name}-{stream}-push-upstream'
-
- node: onap-ubuntu1604
-
+ name: 'onap-{project-name}-push-upstream'
+ node: infra-ubuntu1804
disabled: false
disabled: false
-
- concurrent: true
+ concurrent: false
properties:
- logrotate
parameters:
properties:
- 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
- nordix-gerrit-parameters
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
- branch:
'{branch}'
+ branch:
$GERRIT_BRANCH
refspec: $GERRIT_REFSPEC
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-push-upstream:
project: 'onap/{project}'
triggers:
- nordix-gerrit-push-upstream:
project: 'onap/{project}'
- branch: '
{branch}
'
+ branch: '
**
'
files: '**'
wrappers:
- build-timeout:
timeout: 10
files: '**'
wrappers:
- build-timeout:
timeout: 10
+ - ssh-agent-credentials:
+ users:
+ - 'infra-upstream-gerrit-ssh-passphrase'
+ - nordix-gerrit-http-api-token
builders:
- shell:
!include-raw-escape: ./push-upstream-jobs.sh
builders:
- shell:
!include-raw-escape: ./push-upstream-jobs.sh
-
- publishers:
- - notify-slack:
- slack-channel: '#infra'