summaryrefslogtreecommitdiffstats
path: root/jjb/tldk
diff options
context:
space:
mode:
authorqun wan <qun.wan@intel.com>2017-05-30 19:35:45 -0400
committerqun wan <qun.wan@intel.com>2017-05-30 19:37:12 -0400
commit6b1cd8c5011be54b03cb235dd460995e80ee9ea1 (patch)
treeef1fda28cbc0ef1987011eef7131b57520137556 /jjb/tldk
parent48ebfbbe119d64e5795c6b56d3bdd71ba6de4c1c (diff)
TLDK ci-management patch and shell script calling bootstrap-TLDK.sh.
Change-Id: I174c8d8a04b36065993f910d1741359f62571e72 Signed-off-by: qun wan <qun.wan@intel.com>
Diffstat (limited to 'jjb/tldk')
-rw-r--r--jjb/tldk/include-raw-csit-tldk-functional-virl.sh15
-rw-r--r--jjb/tldk/tldk.yaml50
2 files changed, 65 insertions, 0 deletions
diff --git a/jjb/tldk/include-raw-csit-tldk-functional-virl.sh b/jjb/tldk/include-raw-csit-tldk-functional-virl.sh
new file mode 100644
index 000000000..b18290cdc
--- /dev/null
+++ b/jjb/tldk/include-raw-csit-tldk-functional-virl.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# execute nsh_sfc bootstrap script if it exists
+if [ -e bootstrap-TLDK.sh ]
+then
+ # make sure that bootstrap-TLDK.sh is executable
+ chmod +x bootstrap-TLDK.sh
+ # run the script
+ ./bootstrap-TLDK.sh
+else
+ echo 'ERROR: No bootstrap-TLDK.sh found'
+ exit 1
+fi
+
+# vim: ts=4 ts=4 sts=4 et :
diff --git a/jjb/tldk/tldk.yaml b/jjb/tldk/tldk.yaml
index f2357044d..a91183cb2 100644
--- a/jjb/tldk/tldk.yaml
+++ b/jjb/tldk/tldk.yaml
@@ -4,6 +4,7 @@
- '{project}-verify-{stream}-{os}'
- '{project}-merge-{stream}-{os}'
- '{project}-verify-image-{stream}-{os}'
+ - 'csit-tldk-verify-func-{stream}-{os}-virl'
project: 'tldk'
os:
@@ -169,3 +170,52 @@
publishers:
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
+
+- job-template:
+ name: 'csit-tldk-verify-func-{stream}-{os}-virl'
+
+ project-type: freestyle
+ node: '{os}-basebuild-4c-4g'
+ concurrent: true
+
+ 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:
+ - gerrit-trigger-scm:
+ credentials-id: 'jenkins-gerrit-credentials'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
+
+ publishers:
+ - archive-artifacts:
+ artifacts: 'report.html, log.html, output.xml'
+ latest-only: false
+
+ - robot-report:
+ output-path: ''
+
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'