X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fyardstick%2Fyardstick-project-jobs.yml;h=643c1f9325703ae37b5041be5d21e4481734f85c;hb=bed7b288c8ccbfb6a47998eae1f004a96eea3234;hp=a54750ef75afca0c27e9a27722b41349d2e1d304;hpb=d48d8be23dd95b4ceaf12561d5eef08fd7907806;p=releng.git diff --git a/jjb/yardstick/yardstick-project-jobs.yml b/jjb/yardstick/yardstick-project-jobs.yml index a54750ef7..643c1f932 100644 --- a/jjb/yardstick/yardstick-project-jobs.yml +++ b/jjb/yardstick/yardstick-project-jobs.yml @@ -33,7 +33,6 @@ parameters: - project-parameter: project: '{project}' - - gerrit-parameter: branch: '{branch}' - 'opnfv-build-ubuntu-defaults' @@ -59,6 +58,13 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' + + wrappers: + - ssh-agent-wrapper + - timeout: + timeout: 30 + fail: true + builders: - yardstick-unit-tests-and-docs-build @@ -70,7 +76,6 @@ parameters: - project-parameter: project: '{project}' - - gerrit-parameter: branch: '{branch}' - 'opnfv-build-ubuntu-defaults' - string: @@ -95,6 +100,12 @@ - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' + wrappers: + - ssh-agent-wrapper + - timeout: + timeout: 30 + fail: true + builders: - yardstick-unit-tests-and-docs-build @@ -110,18 +121,8 @@ set -o errexit set -o pipefail + sudo apt-get install -y build-essential python-dev python3-dev + echo "Running unit tests..." cd $WORKSPACE - virtualenv $WORKSPACE/yardstick_venv - source $WORKSPACE/yardstick_venv/bin/activate - - # install python packages - easy_install -U setuptools - easy_install -U pip - pip install -r requirements.txt || pip install -r tests/ci/requirements.txt - pip install -e . - - # unit tests - ./run_tests.sh - - deactivate + tox