jdk: '{jdk}'
logrotate:
- daysToKeep: '14'
- numToKeep: '10'
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
artifactDaysToKeep: '{build-artifact-days-to-keep}'
artifactNumToKeep: '{build-artifact-num-to-keep}'
scm:
- integration-gerrit-scm:
- credentials-id: '{ssh-credentials}'
basedir: '$GERRIT_PROJECT'
refspec: '$GERRIT_REFSPEC'
branch: '{branch}'
- integration-distribution-scm:
- credentials-id: '{ssh-credentials}'
branch: '{branch}'
wrappers:
- - build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- gerrit:
notbuilt: false
prebuilders:
- - wipe-org-opendaylight-repo
- maven-target:
maven-version: '{mvn33}'
pom: '$GERRIT_PROJECT/pom.xml'
- goals: 'clean install -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
+ goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
java-opts:
- '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
- settings: '{JENKINS_SETTINGS}'
- global-settings: '{odl-global-settings}'
+ settings: 'JENKINS_SETTINGS'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
maven:
maven-name: '{mvn33}'
root-pom: 'distribution/pom.xml'
- goals: 'clean install -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+ goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
- settings: '{JENKINS_SETTINGS}'
- global-settings: '{odl-global-settings}'
+ settings: 'JENKINS_SETTINGS'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
ignore-upstream-changes: true
post-step-run-condition: 'SUCCESS'
- integration-distribution-check
publishers:
- - archive:
- artifacts: 'karaf.log'
- - archive:
- artifacts: 'karaf_console.log'
- email-notification:
email-prefix: '[PROJECT_SHORTNAME]'
+ - postbuildscript:
+ builders:
+ - shell: |
+ #!/bin/bash
+ mkdir -p $WORKSPACE/archives
+ cp karaf*.log $WORKSPACE/archives
+ script-only-if-succeeded: False
+ script-only-if-failed: False
+ mark-unstable-if-failed: True
+ - archive-build:
+ maven-version: '{mvn33}'