gs-pathname: ''
docker-tag: 'latest'
disabled: false
- - danube:
+ - euphrates:
branch: 'stable/{stream}'
gs-pathname: '/{stream}'
docker-tag: 'stable'
is-python: true
pod:
- - arm-pod2:
+ - armband-baremetal:
slave-label: '{pod}'
- - arm-pod5:
+ - armband-virtual:
slave-label: '{pod}'
jobs:
branch-pattern: '**/{branch}'
file-paths:
- compare-type: ANT
- pattern: 'tests/**'
+ pattern: 'doctor_tests/**'
builders:
- shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
- '{auto-trigger-name}':
project: '{project}'
branch: '{branch}'
- files: 'tests/**'
+ files: 'doctor_tests/**'
builders:
- shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
default: 'os-nosdn-nofeature-ha'
description: 'Scenario to deploy and test'
# functest-suite-parameter
+ - string:
+ name: FUNCTEST_MODE
+ default: 'testcase'
- string:
name: FUNCTEST_SUITE_NAME
default: 'doctor-notification'
- '{auto-trigger-name}':
project: '{project}'
branch: '{branch}'
- files: 'tests/**'
+ files: 'doctor_tests/**'
builders:
- 'clean-workspace-log'
functest_log="$HOME/opnfv/functest/results/{stream}/$FUNCTEST_SUITE_NAME.log"
# NOTE: checking the test result, as the previous job could return
# 0 regardless the result of doctor test scenario.
- grep -e ' OK$' $functest_log || exit 1
+ grep -e 'doctor test successfully' $functest_log || exit 1
publishers:
- archive:
- artifacts: 'tests/*.log'
+ artifacts: 'doctor_tests/*.log'
- archive:
artifacts: 'functest_results/$FUNCTEST_SUITE_NAME.log'
- email-jenkins-admins-on-failure