scm:
- git-scm:
- credentials-id: '{ssh-credentials}'
refspec: ''
branch: 'master'
wrappers:
- - build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- - timed: '@weekly'
+ - timed: 'H H * * 6'
- gerrit-trigger-patch-sonar:
name: 'integration/distribution'
prebuilders:
- - wipe-org-opendaylight-repo
- jacoco-nojava-workaround
- provide-maven-settings:
- global-settings-file: '{odl-global-settings}'
- settings-file: '{integration-distribution-settings}'
+ global-settings-file: 'odl-global-settings'
+ settings-file: 'integration-distribution-settings'
maven:
maven-name: '{mvn33}'
root-pom: 'pom.xml'
- goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dsonar'
+ goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- settings: '{integration-distribution-settings}'
- global-settings: '{odl-global-settings}'
+ settings: 'integration-distribution-settings'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
reporters:
- findbugs
- email-notification:
email-prefix: '[distribution]'
- jacoco-report
+ - archive-build:
+ maven-version: '{mvn33}'
- job-template:
name: 'distribution-clm-{stream}'
scm:
- git-scm:
- credentials-id: '{ssh-credentials}'
refspec: ''
branch: '{branch}'
wrappers:
- - build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- - timed: '@weekly'
+ - timed: 'H H * * 6'
prebuilders:
- - wipe-org-opendaylight-repo
- provide-maven-settings:
- global-settings-file: '{odl-global-settings}'
- settings-file: '{integration-distribution-settings}'
+ global-settings-file: 'odl-global-settings'
+ settings-file: 'integration-distribution-settings'
maven:
maven-name: '{mvn33}'
root-pom: 'pom.xml'
- goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+ goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
- settings: '{integration-distribution-settings}'
- global-settings: '{odl-global-settings}'
+ settings: 'integration-distribution-settings'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
postbuilders:
- shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
publishers:
- email-notification:
email-prefix: '[distribution]'
+ - archive-build:
+ maven-version: '{mvn33}'
- job-template:
name: 'distribution-validate-autorelease-{stream}'
parameters:
- project-parameter:
project: '{project}'
- - gerrit-parameter:
+ - gerrit-parameters:
+ project: '{project}'
branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
- autorelease-release-tag:
release-tag: 'validate'
- autorelease-release-branch:
release-branch: '{branch}'
- - autorelease-release-datestamp:
- datestamp: true
+ - string:
+ name: CLONE_URL
+ default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease'
+ description: "Autorelease clone URL"
scm:
- git:
- url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
+ url: '$CLONE_URL'
+ credentials-id: 'opendaylight-jenkins-ssh'
refspec: ''
branches:
- 'origin/{branch}'
skip-tag: true
submodule:
recursive: true
+ timeout: 60
wrappers:
- - autorelease-build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- gerrit:
server-name: 'OpenDaylight'
trigger-on:
- patchset-created-event:
- exclude-drafts: 'false'
+ exclude-drafts: 'true'
exclude-trivial-rebase: 'false'
- exclude-no-code-change: 'false'
+ exclude-no-code-change: 'true'
- draft-published-event
- comment-added-contains-event:
comment-contains-value: 'recheck'
pattern: '**/*.xml'
prebuilders:
- - wipe-org-opendaylight-repo
- jacoco-nojava-workaround
- autorelease-checkout-gerrit-patch
- - autorelease-generate-taglist
- autorelease-generate-release-patches
- maven-target:
maven-version: '{mvn33}'
pom: validate-pom.xml
- goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+ goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
java-opts:
- '-Xmx8g'
- settings: '{autorelease-settings}'
- global-settings: '{odl-global-settings}'
+ settings: 'autorelease-settings'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
maven:
maven-name: '{mvn33}'
root-pom: 'pom.xml'
- goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+ goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
- settings: '{autorelease-settings}'
- global-settings: '{odl-global-settings}'
+ settings: 'autorelease-settings'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
automatic-archiving: false
post-step-run-condition: UNSTABLE
postbuilders:
- - shell: "./scripts/list-project-dependencies.sh"
- autorelease-sys-stats
publishers:
- - archive-artifacts:
- artifacts: '*.log'
- email-notification:
email-prefix: '[autorelease] [distribution]'
+ - archive-build:
+ maven-version: '{mvn33}'