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
Enable main feature test trigger to run twice (Monday, Thursday) a week
[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 a4e1f6e9bb2c643457ae4936f929d00fe5f02948..d31fb788bd28f7dbeb84d1d279d1f750d970835e 100644
(file)
--- a/
jjb/acumos/global-templates-acumos-push-upstream.yaml
+++ b/
jjb/acumos/global-templates-acumos-push-upstream.yaml
@@
-1,41
+1,44
@@
- job-template:
- job-template:
- name: 'acumos-{project-name}-
{stream}-
push-upstream'
+ name: 'acumos-{project-name}-push-upstream'
- node:
onap-ubuntu16
04
+ node:
infra-ubuntu20
04
disabled: false
disabled: false
- concurrent:
tru
e
+ concurrent:
fals
e
properties:
- logrotate
parameters:
properties:
- logrotate
parameters:
- - project-parameters:
- project: '{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
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-push-upstream:
triggers:
- nordix-gerrit-push-upstream:
- project: '{project}'
- branch: '
{branch}
'
+ project: '
acumos/
{project}'
+ branch: '
**
'
files: '**'
wrappers:
- build-timeout:
timeout: 10
files: '**'
wrappers:
- build-timeout:
timeout: 10
+ - ssh-agent-credentials:
+ users:
+ - 'infra-upstream-gerrit-ssh-passphrase'
+ - 'nordixinfra-nordix-gerrit-ssh'
builders:
- shell:
!include-raw-escape: ./push-upstream-jobs.sh
builders:
- shell:
!include-raw-escape: ./push-upstream-jobs.sh
-
- publishers:
- - notify-slack:
- slack-channel: '#infra'