summaryrefslogtreecommitdiffstats
path: root/jjb/vnfsdk/vnfsdk-ves-agent.yaml
blob: b0a6a2cd08745569ec328feb5f38d38545479481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
- project:
    name: vnfsdk-ves-agent
    project-name: 'vnfsdk-ves-agent'
    subproject:
      - 'veslibrary':
          pom: 'veslibrary/ves_javalibrary/evel_javalib2/pom.xml'
          pattern: 'veslibrary/**'
    jobs:
      - '{project-name}-{stream}-verify-java':
          mvn-params: '-f veslibrary/ves_javalibrary/evel_javalib2/pom.xml'
      - '{project-name}-{stream}-{subproject}-verify-java'
      - '{project-name}-{stream}-{subproject}-merge-java'
      - 'gerrit-cmake-verify':
          build-timeout: 30
          pre-build: !include-raw-escape: ./vnfsdk-ves-agent-cpp.sh
          build-dir: $WORKSPACE/veslibrary/ves_cpplibrary/src/build
          make-opts: -j6
          build-node: centos7-builder-4c-4g
      - gerrit-maven-stage:
          sign-artifacts: true
          build-node: centos7-builder-4c-4g
          maven-versions-plugin: true
          mvn-params: '-f veslibrary/ves_javalibrary/evel_javalib2/pom.xml'
          mvn-pom: 'veslibrary/ves_javalibrary/evel_javalib2/pom.xml'
          pattern: 'veslibrary/**'
    project: 'vnfsdk/ves-agent'
    stream:
      - 'master':
          branch: 'master'
    mvn-settings: 'vnfsdk-ves-agent-settings'
    files: '**'
    archive-artifacts: ''
    build-node: ubuntu1604-builder-4c-4g

- project:
    name: vnfsdk-ves-agent-sonar
    jobs:
      - gerrit-maven-sonar
      - gerrit-cmake-sonar:
          build-timeout: 60
          pre-build: !include-raw-escape: ./vnfsdk-ves-agent-cpp.sh
          build-dir: $WORKSPACE/veslibrary/ves_cpplibrary/src/build
          cmake-opts: '-DENABLE_COVERAGE=on -DCOVERAGE_DIR=coverage'
          sonarcloud-api-token: '{sonarcloud_api_token}'
          sonarcloud-organization: '{sonarcloud_project_organization}'
          sonarcloud-project-key: '{sonarcloud_project_organization}_vnfsdk-ves-agent'
          make-opts: -j6
          stream: master
          build-node: centos7-builder-4c-4g
    sonarcloud: true
    sonarcloud-project-organization: '{sonarcloud_project_organization}'
    sonarcloud-api-token: '{sonarcloud_api_token}'
    sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
    sonar-mvn-goal: '{sonar_mvn_goal}'
    cron: '@daily'
    build-node: ubuntu1604-builder-4c-4g
    project: 'vnfsdk/ves-agent'
    project-name: 'vnfsdk-ves-agent'
    branch: 'master'
    mvn-params: '-f veslibrary/ves_javalibrary/evel_javalib2/pom.xml'
    mvn-settings: 'vnfsdk-ves-agent-settings'
    mvn-goals: 'clean install'
    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'

- project:
    name: vnfsdk-ves-agent-info
    jobs:
      - gerrit-info-yaml-verify
    build-node: centos7-builder-2c-1g
    project: 'vnfsdk/ves-agent'
    project-name: 'vnfsdk-ves-agent'
    branch: 'master'

- project:
    name: vnfsdk-ves-agent-clm
    jobs:
      - gerrit-maven-clm:
         mvn-params: '-f veslibrary/ves_javalibrary/evel_javalib2/pom.xml'
    nexus-iq-namespace: 'onap-'
    project: vnfsdk/ves-agent
    project-name: 'vnfsdk-ves-agent'
    build-node: ubuntu1604-builder-4c-4g
    branch: 'master'
    mvn-settings: 'vnfsdk-ves-agent-settings'