Commit 3bc1c18e authored by saadali's avatar saadali

Jenkins E2E build should not fail if symlink to junit file already exists.

parent 5e5c1d10
...@@ -227,8 +227,9 @@ fi ...@@ -227,8 +227,9 @@ fi
# TODO(zml): We have a bunch of legacy Jenkins configs that are # TODO(zml): We have a bunch of legacy Jenkins configs that are
# expecting junit*.xml to be in ${WORKSPACE} root and it's Friday # expecting junit*.xml to be in ${WORKSPACE} root and it's Friday
# afternoon, so just put the junit report where it's expected. # afternoon, so just put the junit report where it's expected.
# If link already exists, non-zero return code should not cause build to fail.
for junit in ${ARTIFACTS}/junit*.xml; do for junit in ${ARTIFACTS}/junit*.xml; do
ln -s ${junit} ${WORKSPACE} ln -s -f ${junit} ${WORKSPACE} || true
done done
### Clean up ### ### Clean up ###
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment