diff options
author | Miroslav Miklus <mmiklus@cisco.com> | 2016-03-22 18:32:41 +0100 |
---|---|---|
committer | Miroslav Miklus <mmiklus@cisco.com> | 2016-03-22 18:38:38 +0100 |
commit | 0acd490e63dffbcd4894a14b934eebc0aebe7b28 (patch) | |
tree | 01b0e0c30a55e4ba3678afbde86322820c1ee1d3 /jjb/csit | |
parent | efae9f7378150bbabb4f20473e694dee205ef473 (diff) |
CSIT: new job 'csit-vpp-verify-master'
This job is aimed to test latest csit master code against
latest stable vpp release. If the verification is successfull
then push curent master to master-verified branch
Change-Id: I18316f6f96e793721ee78c3b83a18ff74778cabf
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'jjb/csit')
-rw-r--r-- | jjb/csit/csit-vpp-functional.yaml | 44 | ||||
-rw-r--r-- | jjb/csit/include-raw-csit-vpp-verify-master.sh | 15 |
2 files changed, 59 insertions, 0 deletions
diff --git a/jjb/csit/csit-vpp-functional.yaml b/jjb/csit/csit-vpp-functional.yaml index 6e201ab54..dcedc68e3 100644 --- a/jjb/csit/csit-vpp-functional.yaml +++ b/jjb/csit/csit-vpp-functional.yaml @@ -6,6 +6,7 @@ - 'csit-vpp-functional-hw-tb2' - 'csit-vpp-functional-virl' - 'csit-vpp-functional-nodepool' + - 'csit-vpp-master-verify-weekly' project: 'csit' branch: 'master' @@ -138,3 +139,46 @@ latest-only: false - robot-report + +- job-template: + name: 'csit-vpp-master-verify-weekly' + + 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: 'H H * * 0' + + builders: + - shell: + !include-raw-escape jjb/csit/include-raw-csit-vpp-verify-master.sh + + publishers: + - git: + push-only-if-success: true + branches: + - branch: + name: "master-verified" diff --git a/jjb/csit/include-raw-csit-vpp-verify-master.sh b/jjb/csit/include-raw-csit-vpp-verify-master.sh new file mode 100644 index 000000000..8f5d005ec --- /dev/null +++ b/jjb/csit/include-raw-csit-vpp-verify-master.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# execute csit bootstrap script if it exists +if [ -e bootstrap-verify-master.sh ] +then + # make sure that bootstrap.sh is executable + chmod +x bootstrap-verify-master.sh + # run the script + ./bootstrap-verify-master.sh +else + echo 'ERROR: No bootstrap-verify-master.sh found' + exit 1 +fi + +# vim: ts=4 ts=4 sts=4 et : |