File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/integration-tests/bash Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1921,7 +1921,7 @@ EOF
1921
1921
# - local --> run locally - requires java & weblogic to be installed
1922
1922
# - remote --> run remotely on admin server, construct URL using admin pod name
1923
1923
# - hybrid --> run remotely on admin server, construct URL using 'NODEPORT_HOST'
1924
- # (using K8S_NODEPORT_IP instead since NODEPORT_HOST sometimes does not work in OCI)
1924
+ # or ' K8S_NODEPORT_IP' in wercker since NODEPORT_HOST sometimes does not work in OCI
1925
1925
#
1926
1926
function run_wlst_script {
1927
1927
if [ " $# " -lt 3 ] ; then
@@ -1944,7 +1944,12 @@ function run_wlst_script {
1944
1944
local password=` get_wladmin_pass $1 `
1945
1945
local pyfile_lcl=" $3 "
1946
1946
local pyfile_pod=" /shared/` basename $pyfile_lcl ` "
1947
- local t3url_lcl=" t3://$K8S_NODEPORT_IP :$ADMIN_WLST_PORT "
1947
+ if [ " $WERCKER " = " true" ]; then
1948
+ # use OCI public IP in wercker
1949
+ local t3url_lcl=" t3://$K8S_NODEPORT_IP :$ADMIN_WLST_PORT "
1950
+ else
1951
+ local t3url_lcl=" t3://$NODEPORT_HOST :$ADMIN_WLST_PORT "
1952
+ fi
1948
1953
local t3url_pod=" t3://$AS_NAME :$ADMIN_WLST_PORT "
1949
1954
local wlcmdscript_lcl=" $TMP_DIR /wlcmd.sh"
1950
1955
local wlcmdscript_pod=" /shared/wlcmd.sh"
You can’t perform that action at this time.
0 commit comments