diff options
author | 2022-11-17 14:27:18 -0500 | |
---|---|---|
committer | 2022-11-28 14:39:17 -0500 | |
commit | 9336e2d1f5678dda74d5740418e616fe5837609e (patch) | |
tree | 6f320a8bc14afaf1ed46a9159666363cb2ce631b /extras/bash | |
parent | 814ce6bdf330fdfda90d3856211887c5be515d89 (diff) |
Enable upload of vpp & hicn verify docs to s3 7day retention bucket
- Use the same bucket path as logs so that the docs can be viewed by
s/s3-logs/s3-docs-7day/ in the URL after selecting the logs URL from
the jenkins job page.
- Also, fix error output of get_gerrit_refspec bash function.
Change-Id: I73e8b7a1f310dbfb031afe9d164b114021c2cfe3
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'extras/bash')
-rw-r--r-- | extras/bash/sandbox_test_functions.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/bash/sandbox_test_functions.sh b/extras/bash/sandbox_test_functions.sh index 90736e964..3993069e1 100644 --- a/extras/bash/sandbox_test_functions.sh +++ b/extras/bash/sandbox_test_functions.sh @@ -131,7 +131,8 @@ get_gerrit_refspec() { local query="$(ssh -p 29418 gerrit.fd.io gerrit query status:merged project:$project branch:$branch limit:1 --format=JSON --current-patch-set | tr ',' '\n' | grep refs | cut -d'"' -f4)" if [ -z "$query" ] ; then - echo "ERROR: Invalid project ($1) or branch ($2)" + echo "ERROR: Invalid argument(s): branch ($1) project ($2)" + echo "Usage: $0 <branch> <project>" else echo "$query" fi |