diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2015-06-15 08:54:31 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2015-06-15 08:56:00 +0200 |
commit | c236af84b0158cc3135e56214f35a8d05de391c0 (patch) | |
tree | aa0f2681f242f4ac62c0757a71d506cb3dc10075 /jjb/yardstick | |
parent | cab57447b21f1d02a61dc161e804607f04aab8f6 (diff) |
Create initial version of yardstick job for testing on LF POD1 & POD2
JIRA: YARDSTICK-33
Change-Id: Ic1bfb58fdce2ebe2d19573be0f38202ff2380fc9
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/yardstick')
-rw-r--r-- | jjb/yardstick/yardstick.yml | 48 |
1 files changed, 48 insertions, 0 deletions
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!" |