artifactDaysToKeep: '14'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- autorelease-release-tag:
release-tag: '{next-release-tag}'
- autorelease-release-branch:
scm:
- git:
- credentials-id: '{ssh-credentials}'
+ credentials-id: 'opendaylight-jenkins-ssh'
url: '$GIT_BASE'
refspec: ''
branches:
timeout: 60
wrappers:
- - autorelease-build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '1440'
triggers:
- timed: 'H 0 * * *'
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- string:
name: REPORT_DIR
default: '$WORKSPACE/project-reports'
scm:
- git:
- credentials-id: '{ssh-credentials}'
+ credentials-id: 'opendaylight-jenkins-ssh'
url: '$GIT_BASE'
refspec: ''
branches:
recursive: true
wrappers:
- - timeout:
- type: absolute
- timeout: 30
- fail: true
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '30'
triggers:
- timed: '0 0 * * 0'
artifactNumToKeep: -1
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
+ - opendaylight-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
refspec: ''
choosing-strategy: 'default'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- autorelease-trigger-patch-site-merged:
artifactNumToKeep: -1
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
+ - opendaylight-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
refspec: '$GERRIT_REFSPEC'
choosing-strategy: 'gerrit'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- autorelease-trigger-patch-site-submitted: