diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2017-03-04 13:20:16 +0000 |
---|---|---|
committer | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2017-03-04 13:20:16 +0000 |
commit | 053d3273cb41213f2a2ddb29d9f6340496293c17 (patch) | |
tree | 62333b81d758d1309d60eafbde1fa7376ca99c2a /jjb | |
parent | 5b6ef080a128b0592549409a1dba1f9ab1ccdb06 (diff) |
[doctor] make symbolic link of directory instead of file
Change-Id: Ic879ebe17c317c95921f250dd31dbcc9a7e2d6e2
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/doctor/doctor.yml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/jjb/doctor/doctor.yml b/jjb/doctor/doctor.yml index 4fff8a6c4..c677ef96e 100644 --- a/jjb/doctor/doctor.yml +++ b/jjb/doctor/doctor.yml @@ -149,14 +149,12 @@ # NOTE: Create symbolic link, so that we can archive file outside # of $WORKSPACE . # NOTE: We are printing all logs under 'tests/' during test run, - # so this symbolic link should not be in 'tests/'. - # Otherwise, we'll the same log twice in jenkins console log. - functest_log="$HOME/functest/results/{stream}/{project}.log" - to_be_archived="$WORKSPACE/functest-{project}.log" - ln -sf $functest_log $to_be_archived + # so this symbolic link should not be in 'tests/'. Otherwise, + # we'll have the same log twice in jenkins console log. + ln -sfn $HOME/opnfv/functest/results/{stream} functest_results - 'functest-suite-builder' - shell: | - functest_log="$HOME/functest/results/{stream}/{project}.log" + functest_log="$HOME/opnfv/functest/results/{stream}/{project}.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 @@ -165,7 +163,7 @@ - archive: artifacts: 'tests/*.log' - archive: - artifacts: 'functest-{project}.log' + artifacts: 'functest_results/{project}.log' ##################################### |