Disable Lithium jobs
[releng/builder.git] / jjb / ovsdb / ovsdb-sonar.yaml
1 - project:
2     name: ovsdb-sonar
3     jobs:
4         - 'ovsdb-sonar'
5
6     project: 'ovsdb'
7     jdk: 'openjdk8'
8
9 - job-template:
10     name: 'ovsdb-sonar'
11     disabled: {disabled}
12     node: centos7-docker-2c-4g
13
14     project-type: maven
15     jdk: '{jdk}'
16
17     logrotate:
18         daysToKeep: '7'
19         numToKeep: '10'
20         artifactDaysToKeep: '1'
21         artifactNumToKeep: '1'
22
23     parameters:
24         - opendaylight-infra-parameters:
25             project: '{project}'
26             branch: '{branch}'
27             refspec: 'refs/heads/{branch}'
28             artifacts: '{archive-artifacts}'
29
30     scm:
31         - git-scm:
32             refspec: ''
33             branch: 'master'
34
35     wrappers:
36         - opendaylight-infra-wrappers:
37             build-timeout: '{build-timeout}'
38
39     triggers:
40         - timed: 'H H * * 6'
41         - gerrit-trigger-patch-sonar:
42             name: 'ovsdb'
43
44     prebuilders:
45         - shell:
46             !include-raw-escape:
47                 - include-raw-setup-docker.sh
48
49     maven:
50         maven-name: '{mvn33}'
51         root-pom: 'pom.xml'
52         goals: 'clean install dependency:tree -V -B -Dsonar -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
53         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
54         settings: 'ovsdb-settings'
55         settings-type: cfp
56         global-settings: 'odl-global-settings'
57         global-settings-type: cfp
58
59     postbuilders:
60         - inject:
61             properties-file: env.properties
62         - maven-target:
63             maven-version: '{mvn33}'
64             pom: 'pom.xml'
65             goals: 'verify -V -B -Pintegrationtest -Dsonar -Dskip.karaf.featureTest=true -Dovsdb.controller.address=${{CONTROLLER_IP}} -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
66             properties:
67                 - 'ovsdbserver.ipaddress=127.0.0.1'
68                 - 'ovsdbserver.port=6641'
69                 - 'ovsdb.userspace.enabled=yes'
70             settings: 'ovsdb-settings'
71             settings-type: cfp
72             global-settings: 'odl-global-settings'
73             global-settings-type: cfp
74         - shell:
75             !include-raw-escape:
76                 - include-raw-cleanup-docker.sh
77         - jacoco-nojava-workaround
78
79     publishers:
80         - sonar:
81             language: 'java'
82             maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
83         - email-notification:
84             email-prefix: '[ovsdb]'
85         - jacoco-report
86         - archive-build:
87             maven-version: '{mvn33}'