File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ jobs:
5252 echo "ipPort = $(kubectl get svc default-couchbase-cluster-ui -o jsonpath='{.spec.ports[].nodePort}')" >> $GITHUB_ENV
5353 - name : debug ip and port
5454 run : |
55- echo "IP Address $ipAddress Port $ipPort"
55+ echo "IP Address" $ipAddress " Port" $ipPort
5656 echo $ipAddress
5757 echo $ipPort
5858 - name : fix connection string
5959 run : |
60- awk -i inplace '{gsub(/127.0.0.1/,"${ ipAddress}:${ ipPort} ?network=external"); print }' src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
60+ awk -i inplace '{gsub(/127.0.0.1/,$ ipAddress":"$ ipPort" ?network=external"); print }' src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
6161 - name : validate file fix
6262 run : cat src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
6363 - name : Build with Maven
You can’t perform that action at this time.
0 commit comments