File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -82,14 +82,18 @@ if [[ ${PLATFORM} == 'windows' ]]; then
82
82
if [[ ! -z " ${BUNDLE_LOCATION+x} " ]] && [[ -n " ${BUNDLE_LOCATION} " ]]; then
83
83
BINARY_EXEC+=" \$ env:BUNDLE_PATH='${BUNDLE_LOCATION} '; "
84
84
fi
85
+ BINARY_EXEC+=" ./${BINARY} > integration.results"
85
86
else
86
87
BINARY_EXEC=" cd ${EXECUTION_FOLDER} /bin && "
87
88
BINARY_EXEC+=" PULL_SECRET_PATH=${EXECUTION_FOLDER} /pull-secret "
88
89
if [[ ! -z " ${BUNDLE_LOCATION+x} " ]] && [[ -n " ${BUNDLE_LOCATION} " ]]; then
89
90
BINARY_EXEC+=" BUNDLE_PATH=${BUNDLE_LOCATION} "
90
91
fi
92
+ BINARY_EXEC+=" ./${BINARY} > integration.results"
93
+ if ${PLATFORM} == ' macos' ; then
94
+ BINARY_EXEC=" sudo su - ${TARGET_HOST_USERNAME} -c \" PATH=\$ PATH:/usr/local/bin && ${BINARY_EXEC} \" "
95
+ fi
91
96
fi
92
- BINARY_EXEC+=" ./${BINARY} > integration.results"
93
97
# Execute command remote
94
98
$SSH " ${REMOTE} " " ${BINARY_EXEC} "
95
99
You can’t perform that action at this time.
0 commit comments