3 description: 'jenkins jobs to test Hc2vpp features.'
5 - 'hc2vpp-csit-integration-{stream}-{os}'
6 - 'hc2vpp-csit-verify-{stream}-{os}'
10 build-artifact-num-to-keep: 10
14 repo-stream-part: 'master'
17 repo-os-part: 'ubuntu.trusty.main'
21 name: 'hc2vpp-csit-integration-{stream}-{os}'
23 project-type: freestyle
24 node: 'ubuntu1604-basebuild-4c-4g'
28 daysToKeep: '{build-days-to-keep}'
29 numToKeep: '{build-num-to-keep}'
30 artifactDaysToKeep: '{build-artifact-days-to-keep}'
31 artifactNumToKeep: '{build-artifact-num-to-keep}'
41 credentials-id: 'jenkins-gerrit-credentials'
45 - fdio-infra-wrappers:
46 build-timeout: '{build-timeout}'
50 jobs: 'hc2vpp-verify-{stream}-{os}'
55 if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
59 !include-raw-escape: include-raw-hc2vpp-csit-integration.sh
63 if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64||echo 'ignoring failure';fi
67 artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
70 email-prefix: '[hc2vpp]'
76 name: 'hc2vpp-csit-verify-{stream}-{os}'
79 node: 'ubuntu1604-basebuild-4c-4g'
83 daysToKeep: '{build-days-to-keep}'
84 numToKeep: '{build-num-to-keep}'
85 artifactDaysToKeep: '{build-artifact-days-to-keep}'
86 artifactNumToKeep: '{build-artifact-num-to-keep}'
95 - maven-project-parameter:
98 maven-version: 'mvn33-new'
101 - gerrit-trigger-scm:
102 credentials-id: 'jenkins-gerrit-credentials'
104 choosing-strategy: 'default'
108 - fdio-infra-wrappers:
109 build-timeout: '{build-timeout}'
113 server-name: 'Primary'
115 - comment-added-contains-event:
116 comment-contains-value: 'verify-csit'
118 - project-compare-type: 'ANT'
119 project-pattern: '{project}'
121 - branch-compare-type: 'ANT'
122 branch-pattern: '**/{branch}'
131 if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
133 !include-raw-escape: include-raw-hc2vpp-csit-verify-prebuild.sh
136 maven-name: 'mvn33-new'
138 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.site.skip={skip-site} site -Dmaven.site.deploy.skip={skip-site} -DskipTests'
139 maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
140 settings: 'hc2vpp-settings'
142 global-settings: 'global-settings'
143 global-settings-type: cfp
147 !include-raw-escape: include-raw-hc2vpp-csit-verify.sh
149 if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64||echo 'ignoring failure';fi
153 artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
155 - email-notification:
156 email-prefix: '[hc2vpp]'