- 'csit-vpp-perf-hw-{type}'
- 'csit-vpp-functional-virl'
- 'csit-vpp-verify-weekly'
+ - 'csit-vpp-master-verify-semiweekly'
project: 'csit'
branch: 'master'
- job-template:
name: 'csit-vpp-verify-weekly'
+ description: 'Purpose of this job is to validate CSIT code against verified vpp build and apply csit-verified tag in case of success.'
project-type: freestyle
node: verify
publishers:
- archive-artifacts:
- artifacts: 'report.html, log.html, output.xml'
+ artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
latest-only: false
- robot-report:
- output-path: ''
+ output-path: 'csit'
- git:
push-only-if-success: true
create-tag: true
update-tag: true
+- job-template:
+ name: 'csit-vpp-master-verify-semiweekly'
+ description: 'Purpose of this job is to validate latest vpp build stored in nexus against verified CSIT codebase.'
+
+ project-type: freestyle
+ node: verify
+ concurrent: false
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'master'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - timed: '0 4 * * 2,6'
+
+ - gerrit-trigger-manually-triggered:
+ comment-trigger-value: 'csit-verify-vpp'
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape jjb/csit/include-raw-csit-vpp-master-verify-semiweekly.sh
+
+ publishers:
+ - archive-artifacts:
+ artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
+ latest-only: false
+
+ - robot-report:
+ output-path: 'csit'
+
- parameter:
name: test-type-parameter
--- /dev/null
+#!/bin/bash
+set -xeu -o pipefail
+
+# Clone csit and start tests
+git clone https://gerrit.fd.io/r/csit --branch csit-verified
+
+cd csit
+
+# execute csit bootstrap script if it exists
+if [ -e bootstrap-vpp-master-verify-semiweekly.sh ]
+then
+ # make sure that bootstrap.sh is executable
+ chmod +x bootstrap-vpp-master-verify-semiweekly.sh
+ # run the script
+ ./bootstrap-vpp-master-verify-semiweekly.sh
+else
+ echo 'ERROR: No bootstrap-verify-master.sh found'
+ exit 1
+fi
+
+# vim: ts=4 ts=4 sts=4 et :