From c236af84b0158cc3135e56214f35a8d05de391c0 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Mon, 15 Jun 2015 08:54:31 +0200 Subject: [PATCH] Create initial version of yardstick job for testing on LF POD1 & POD2 JIRA: YARDSTICK-33 Change-Id: Ic1bfb58fdce2ebe2d19573be0f38202ff2380fc9 Signed-off-by: Fatih Degirmenci --- jjb/yardstick/yardstick.yml | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/jjb/yardstick/yardstick.yml b/jjb/yardstick/yardstick.yml index d25d8513a..cb58a586b 100644 --- a/jjb/yardstick/yardstick.yml +++ b/jjb/yardstick/yardstick.yml @@ -1,10 +1,15 @@ - project: name: yardstick jobs: + - 'yardstick-{pod}' - 'yardstick-daily-{stream}' - 'yardstick-merge' - 'yardstick-verify' + pod: + - 'opnfv-jump-1' + - 'opnfv-jump-2' + # stream: branch with - in place of / (eg. stable-helium) # branch: branch (eg. stable/helium) stream: @@ -180,3 +185,46 @@ echo "Running unit tests..." cd $WORKSPACE ./run_tests.sh + +- job-template: + name: 'yardstick-{pod}' + + project-type: freestyle + + disabled: true + + node: '{pod}' + + parameters: + - project-parameter: + project: '{project}' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: master + + logrotate: + daysToKeep: 30 + numToKeep: 10 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + + builders: + - 'yardstick-ping' + +######################## +# builder macros +######################## +- builder: + name: yardstick-ping + builders: + - shell: | + #!/bin/bash + set -o errexit + set -o nounset + set -o pipefail + + # TODO: will add real stuff here + echo "Hello world!" -- 2.16.6