- job-template:
name: 'PROJECT_SHORTNAME-sonar'
+ disabled: false
project-type: maven
node: dynamic_verify
- jdk: 'openjdk7'
+ jdk: 'openjdk8'
logrotate:
daysToKeep: '7'
scm:
- git-scm:
- credentials-id: '{ssh-credentials}'
refspec: ''
branch: 'SONAR_BRANCH'
wrappers:
- - build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- - timed: 'H H * * *'
+ - timed: 'H H * * 6'
- gerrit-trigger-patch-sonar:
name: 'PROJECT_PATH'
prebuilders:
- - wipe-org-opendaylight-repo
- jacoco-nojava-workaround
- provide-maven-settings:
- global-settings-file: '{odl-global-settings}'
- settings-file: '{yangtools-settings}'
+ global-settings-file: 'odl-global-settings'
+ settings-file: 'JENKINS_SETTINGS'
maven:
maven-name: '{mvn33}'
root-pom: 'POM'
- goals: 'MAVEN_GOALS -Dsonar'
+ goals: 'MAVEN_GOALS -V -B -Djenkins -Dsonar'
maven-opts: 'MAVEN_OPTS'
- settings: '{JENKINS_SETTINGS}'
- global-settings: '{odl-global-settings}'
+ settings: 'JENKINS_SETTINGS'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
reporters:
- findbugs
- email-notification:
email-prefix: '[PROJECT_SHORTNAME]'
- jacoco-report
+ - archive-build:
+ maven-version: '{mvn33}'