3 description: 'jenkins jobs to test Hc2vpp features.'
5 - 'hc2vpp-csit-integration-{stream}-{os}'
6 - 'hc2vpp-csit-verify-{stream}-{os}'
8 build-artifact-num-to-keep: 10
12 repo-stream-part: 'master'
15 repo-stream-part: 'stable.1701'
18 repo-os-part: 'ubuntu.trusty.main'
22 name: 'hc2vpp-csit-integration-{stream}-{os}'
24 project-type: freestyle
25 node: 'ubuntu1404-basebuild-4c-4g'
29 daysToKeep: '{build-days-to-keep}'
30 numToKeep: '{build-num-to-keep}'
31 artifactDaysToKeep: '{build-artifact-days-to-keep}'
32 artifactNumToKeep: '{build-artifact-num-to-keep}'
44 credentials-id: 'jenkins-gerrit-credentials'
48 - fdio-infra-wrappers:
49 build-timeout: '{build-timeout}'
53 jobs: 'hc2vpp-integration-{stream}-{os}'
58 if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
62 !include-raw-escape: include-raw-hc2vpp-csit-integration.sh
66 if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64||echo 'ignoring failure';fi
70 artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
73 email-prefix: '[hc2vpp]'
79 name: 'hc2vpp-csit-verify-{stream}-{os}'
82 node: 'ubuntu1404-basebuild-4c-4g'
86 daysToKeep: '{build-days-to-keep}'
87 numToKeep: '{build-num-to-keep}'
88 artifactDaysToKeep: '{build-artifact-days-to-keep}'
89 artifactNumToKeep: '{build-artifact-num-to-keep}'
98 - maven-project-parameter:
101 maven-version: 'mvn33-new'
106 - gerrit-trigger-scm:
107 credentials-id: 'jenkins-gerrit-credentials'
109 choosing-strategy: 'default'
113 - fdio-infra-wrappers:
114 build-timeout: '{build-timeout}'
118 server-name: 'Primary'
120 - comment-added-contains-event:
121 comment-contains-value: 'verify-csit'
123 - project-compare-type: 'ANT'
124 project-pattern: '{project}'
126 - branch-compare-type: 'ANT'
127 branch-pattern: '**/{branch}'
136 if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
138 !include-raw-escape: include-raw-hc2vpp-csit-verify-prebuild.sh
141 maven-name: 'mvn33-new'
143 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'
144 maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
145 settings: 'hc2vpp-settings'
147 global-settings: 'global-settings'
148 global-settings-type: cfp
152 !include-raw-escape: include-raw-hc2vpp-csit-verify.sh
154 if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64||echo 'ignoring failure';fi
158 artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
160 - email-notification:
161 email-prefix: '[hc2vpp]'