aboutsummaryrefslogtreecommitdiffstats
path: root/version-manifest
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-05-07 15:09:28 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-05-07 15:09:28 -0700
commitce4fcc0991df53a0953869ccc6406bc339dec50f (patch)
tree5d1ceb5b0bcb29f74e5ede74f9781b762b0e6d1f /version-manifest
parent4885ce67b35caefbcdb35091f177afdbff723972 (diff)
Add usage prompt for docker-manifest check script
Change-Id: I79c75c188f4faea891908d8dd2a7f0fe0b44e7a9 Issue-ID: INT-488 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'version-manifest')
-rwxr-xr-xversion-manifest/src/main/scripts/check-docker-manifest.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/version-manifest/src/main/scripts/check-docker-manifest.sh b/version-manifest/src/main/scripts/check-docker-manifest.sh
index 9064c836d..61eb5a2a9 100755
--- a/version-manifest/src/main/scripts/check-docker-manifest.sh
+++ b/version-manifest/src/main/scripts/check-docker-manifest.sh
@@ -1,5 +1,11 @@
#!/bin/bash
+if [ "$#" -ne 1 ]; then
+ echo This script checks docker-manifest.csv to verify that the specified versions exist in nexus3
+ echo "$0 <docker-manifest.csv>"
+ exit 1
+fi
+
if [ -z "$WORKSPACE" ]; then
export WORKSPACE=`git rev-parse --show-toplevel`
fi