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'
87 daysToKeep: '{build-days-to-keep}'
88 numToKeep: '{build-num-to-keep}'
89 artifactDaysToKeep: '{build-artifact-days-to-keep}'
90 artifactNumToKeep: '{build-artifact-num-to-keep}'
99 - maven-project-parameter:
102 maven-version: 'mvn33-new'
107 - gerrit-trigger-scm:
108 credentials-id: 'jenkins-gerrit-credentials'
110 choosing-strategy: 'default'
114 - fdio-infra-wrappers:
115 build-timeout: '{build-timeout}'
119 server-name: 'Primary'
121 - comment-added-contains-event:
122 comment-contains-value: 'verify-csit'
124 - project-compare-type: 'ANT'
125 project-pattern: '{project}'
127 - branch-compare-type: 'ANT'
128 branch-pattern: '**/{branch}'
137 if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
139 !include-raw-escape: include-raw-hc2vpp-csit-verify-prebuild.sh
142 maven-name: 'mvn33-new'
144 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'
145 maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
146 settings: 'hc2vpp-settings'
148 global-settings: 'global-settings'
149 global-settings-type: cfp
153 !include-raw-escape: include-raw-hc2vpp-csit-verify.sh
155 if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64||echo 'ignoring failure';fi
159 artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
161 - email-notification:
162 email-prefix: '[hc2vpp]'