name: 'autorelease-release-{stream}'
project-type: maven
- node: dynamic_autorelease
+ node: centos7-autorelease-4c-16g
jdk: '{jdk}'
logrotate:
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 * * *'
prebuilders:
- wipe-local-maven-repo
- jacoco-nojava-workaround
+ - shell: "./scripts/list-project-dependencies.sh"
- autorelease-cfp:
autorelease-settings: 'autorelease-settings'
odl-global-settings: 'odl-global-settings'
postbuilders:
- autorelease-maven-deploy
- - shell: "./scripts/list-project-dependencies.sh"
- autorelease-get-integration-test-variables
- autorelease-maven-sources:
maven-version: '{mvn33}'
global-settings: 'odl-global-settings'
- autorelease-maven-sources-post-process
- autorelease-sys-stats
+ - shell: |
+ mkdir -p archives/
+ cp *.log *.prop $_
publishers:
- - archive-artifacts:
- artifacts: '*.prop,*.log,patches/*.bundle,patches/*.patch,patches/*.log'
- email-notification:
email-prefix: '[autorelease]'
- trigger-parameterized-builds:
condition: UNSTABLE_OR_BETTER
property-file: variables.prop
fail-on-missing: true
+ - opendaylight-infra-shiplogs:
+ maven-version: '{mvn33}'
- job-template:
name: 'autorelease-project-report-{stream}'
project-type: freestyle
- node: dynamic_verify
+ node: centos7-java-builder-2c-8g
logrotate:
daysToKeep: '{build-days-to-keep}'
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'
- autorelease-sys-stats
publishers:
- - archive-artifacts:
- artifacts: '*.log,project-reports/*.log'
- email-ext:
attachments: 'project-reports/*.log'
recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
Archive also available on Jenkins at $BUILD_URL
always: true
+ - opendaylight-infra-shiplogs:
+ maven-version: '{mvn33}'
###
### Maven Sites
- job-template:
name: 'autorelease-site-publish-{stream}'
- node: dynamic_merge
+ node: centos7-java-builder-2c-8g
concurrent: false
jdk: 'openjdk8'
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:
- job-template:
name: 'autorelease-site-verify-{stream}'
- node: dynamic_verify
+ node: centos7-java-builder-2c-8g
concurrent: true
jdk: 'openjdk8'
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: