Skip to content

Commit 3cd2968

Browse files
author
Chris Wiechmann
committed
Update entrypoint.sh
1 parent 0e8b8cb commit 3cd2968

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#!/bin/bash
22

33
CLI=/apim-cli-1.5.1/scripts/apim.sh
4+
echo "Using API-Manager: https://${INPUT_APIMHOSTNAME}:"
5+
46
apimCLIArgs="-h ${INPUT_APIMHOSTNAME} -u ${INPUT_APIMUSERNAME} -p ${INPUT_APIMPASSWORD} ${INPUT_APIMEXTRAARGS}"
57

68
if ! [ -z ${INPUT_APIMCLICOMMAND} ];then
79
echo "Calling APIM-CLI with given command: ${INPUT_APIMCLICOMMAND}"
10+
set -x
811
$CLI ${INPUT_APIMCLICOMMAND} ${apimCLIArgs} || exit 99;
912
exit
1013
fi

0 commit comments

Comments
 (0)