Editor log now saves to artifacts folder
parent
4ba71aefa9
commit
58f580c801
|
@ -77,13 +77,16 @@ if [ $EDIT_MODE = true ]; then
|
||||||
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
|
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
|
||||||
/opt/Unity/Editor/Unity \
|
/opt/Unity/Editor/Unity \
|
||||||
-batchmode \
|
-batchmode \
|
||||||
-logfile /dev/stdout \
|
-logFile "$FULL_ARTIFACTS_PATH/editmode.log" \
|
||||||
-projectPath "$UNITY_PROJECT_PATH" \
|
-projectPath "$UNITY_PROJECT_PATH" \
|
||||||
-runTests \
|
-runTests \
|
||||||
-testPlatform editmode \
|
-testPlatform editmode \
|
||||||
-testResults "$FULL_ARTIFACTS_PATH/editmode-results.xml" \
|
-testResults "$FULL_ARTIFACTS_PATH/editmode-results.xml" \
|
||||||
$CUSTOM_PARAMETERS
|
$CUSTOM_PARAMETERS
|
||||||
|
|
||||||
|
# Print unity log output
|
||||||
|
cat "$FULL_ARTIFACTS_PATH/editmode.log"
|
||||||
|
|
||||||
# Catch exit code
|
# Catch exit code
|
||||||
EDIT_MODE_EXIT_CODE=$?
|
EDIT_MODE_EXIT_CODE=$?
|
||||||
|
|
||||||
|
@ -112,13 +115,16 @@ if [ $PLAY_MODE = true ]; then
|
||||||
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
|
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
|
||||||
/opt/Unity/Editor/Unity \
|
/opt/Unity/Editor/Unity \
|
||||||
-batchmode \
|
-batchmode \
|
||||||
-logfile /dev/stdout \
|
-logFile "$FULL_ARTIFACTS_PATH/playmode.log" \
|
||||||
-projectPath "$UNITY_PROJECT_PATH" \
|
-projectPath "$UNITY_PROJECT_PATH" \
|
||||||
-runTests \
|
-runTests \
|
||||||
-testPlatform playmode \
|
-testPlatform playmode \
|
||||||
-testResults "$FULL_ARTIFACTS_PATH/playmode-results.xml" \
|
-testResults "$FULL_ARTIFACTS_PATH/playmode-results.xml" \
|
||||||
$CUSTOM_PARAMETERS
|
$CUSTOM_PARAMETERS
|
||||||
|
|
||||||
|
# Print unity log output
|
||||||
|
cat "$FULL_ARTIFACTS_PATH/playmode.log"
|
||||||
|
|
||||||
# Catch exit code
|
# Catch exit code
|
||||||
PLAY_MODE_EXIT_CODE=$?
|
PLAY_MODE_EXIT_CODE=$?
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue