# - email:
# recipients: icn.jenkins@intel.com
+- job-template:
+ id: icn-bluval-run-daily-tests
+ name: 'icn-bluval-daily-{stream}'
+ concurrent: true
+ node: '{build-node}'
+ parameters:
+ - lf-infra-parameters: *validation_lf_infra_parameters
+ - string:
+ name: DEPLOY_SCENARIO
+ default: ''
+ - {'bluval-defaults'}
+
+ scm:
+ - lf-infra-github-scm:
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+ url: '{git-url}/{project}.git'
+ refspec: '$GERRIT_REFSPEC'
+ branch: '$GERRIT_BRANCH'
+ submodule-recursive: false
+ submodule-timeout: '{submodule-timeout}'
+ submodule-disable: true
+ choosing-strategy: default
+
+ builders:
+ - description-setter:
+ description: "POD: $NODE_NAME<br/>BLUEPRINT: $BLUEPRINT<br/>LAB: $LAB_SILO<br/>LAYER: $LAYER"
+ - shell: !include-raw-escape:
+ shell/bluval.sh
+
+ publishers:
+ - robot:
+ output-path: 'results'
+ report-html: '**/report.html'
+ log-html: '**/log.html'
+ output-xml: '**/output.xml'
+ - logparser:
+ use-project-rules: true
+ parse-rules: "./bluval/rules.txt"
+ unstable-on-warning: false
+ fail-on-error: true
+ show-graphs: true
branch: master
jobs:
- icn-stream-bm-verify-target
+
+- project:
+ name: icn-bluval
+ project-name: validation
+ project: validation
+ group-id: org.akraino.validation
+ refspec: refs/heads/master
+ branch: master
+ view:
+ - project-view
+ blueprint:
+ - icn
+ stream:
+ - master:
+ branch: '{stream}'
+ gs-pathname: ''
+ disabled: false
+ validation_lab:
+ - intel
+ build-node: master
+ jobs:
+ - icn-bluval-run-daily-tests
--- /dev/null
+#!/bin/bash
+set -e
+set -o errexit
+set -o pipefail
+
+echo "[ICN] Downloading run_bluval.sh from upstream ci-management"
+wget --read-timeout=10 --timeout=10 --waitretry=10 -t 10 https://raw.githubusercontent.com/akraino-edge-stack/ci-management/master/jjb/shell/run_bluval.sh
+
+echo "[ICN] Patching run_bluval.sh so it doesn't delete .netrc"
+sed -i "s/rm -f ~\/.netrc/#rm -f ~\/.netrc/" run_bluval.sh
+
+echo "[ICN] Executing run_bluval.sh"
+/bin/bash run_bluval.sh