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
ACUMOS: Improve jenkins jobs for Acumos projects
[infra/cicd.git]
/
jjb
/
acumos
/
global-templates-acumos-push-upstream.yaml
diff --git
a/jjb/acumos/global-templates-acumos-push-upstream.yaml
b/jjb/acumos/global-templates-acumos-push-upstream.yaml
index 2a31aafda168cee2f235197924ac76f503ca2a59..a0cf5b120c7c6fe52b698ccb7ca5fc0d5664f70a 100644
(file)
--- a/
jjb/acumos/global-templates-acumos-push-upstream.yaml
+++ b/
jjb/acumos/global-templates-acumos-push-upstream.yaml
@@
-1,7
+1,7
@@
- job-template:
- job-template:
- name: 'acumos-{project-name}-
{stream}-
push-upstream'
+ name: 'acumos-{project-name}-push-upstream'
- node:
onap-ubuntu16
04
+ node:
infra-build01-ubuntu18
04
disabled: false
disabled: false
@@
-11,15
+11,16
@@
- logrotate
parameters:
- logrotate
parameters:
- - project-parameters:
- project: 'acumos/{project}'
- branch: '{branch}'
+ - string:
+ name: PROJECT
+ default: 'acumos/{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
wipe_workspace: true
clean_before: false
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false
@@
-27,7
+28,7
@@
triggers:
- nordix-gerrit-push-upstream:
project: 'acumos/{project}'
triggers:
- nordix-gerrit-push-upstream:
project: 'acumos/{project}'
- branch: '
{branch}
'
+ branch: '
**
'
files: '**'
wrappers:
files: '**'
wrappers: