Add usage prompt for docker-manifest check script 81/46481/1
authorGary Wu <gary.i.wu@huawei.com>
Mon, 7 May 2018 22:09:28 +0000 (15:09 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Mon, 7 May 2018 22:09:28 +0000 (15:09 -0700)
Change-Id: I79c75c188f4faea891908d8dd2a7f0fe0b44e7a9
Issue-ID: INT-488
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
version-manifest/src/main/scripts/check-docker-manifest.sh

index 9064c83..61eb5a2 100755 (executable)
@@ -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