diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-03-27 02:18:05 +0000 |
---|---|---|
committer | Jack Chan <chenjiankun1@huawei.com> | 2017-03-27 04:03:02 +0000 |
commit | 53cae3915f9b49ada2095f3bd43c34d14c09e385 (patch) | |
tree | 82e8d76489a80dbb5647333a2248c3713d4c17d8 /api/base.py | |
parent | a900273be090491ce71f9e78ac456c49093e3f71 (diff) |
pathspec 'master' did not match any file(s) known to git
JIRA: YARDSTICK-605
On stable branch, exec_tests.sh will also try to git checkout master
branch, which cause error "pathspec 'master' did not match any file(s)
known to git." This is a remianing bug from the previous release.
see at:
https://build.opnfv.org/ci/view/yardstick/job/yardstick-apex-lf-pod1-daily-danube/62/console
This error occur in line 48.
But the reason is 'set -e'
If we set 'set -e':
'git checkout master && git pull' return 1 but it will go on executing;
but 'git checkout master' will return 1 and terminate immediately.
If we do not set, it will return 1 but will terminate immediately.
Actually we not need 'git checkout master' here because it is already in
stable/danube branch.
So I remove it.
Change-Id: I106a1da28cf2deee90ebcb25adaf638a210928ee
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'api/base.py')
0 files changed, 0 insertions, 0 deletions