unsafeEcho调整成echi()
This commit is contained in:
parent
c818f2a486
commit
c441e171df
@ -3,12 +3,13 @@
|
||||
// Copyright Byway Studios Inc. All rights reserved
|
||||
//=================================================================
|
||||
def call(config){
|
||||
echo("clear AB begin")
|
||||
//Clean any previously build asset bundles
|
||||
bat """
|
||||
if exist "${WORKSPACE}\\AB" del /F /S /Q "${WORKSPACE}\\AB\\*"
|
||||
"""
|
||||
|
||||
unsafeEcho "execUnityMethod begin"
|
||||
echo("execUnityMethod begin")
|
||||
//Generate AssetBundle to AB //params: is Clean packageCache,Build Method
|
||||
execUnityMethod_Windows(config.alwaysClearPackageCache, "MyBuildTool.StartBuildAndroid")
|
||||
|
||||
|
||||
@ -4,15 +4,15 @@
|
||||
//=================================================================
|
||||
def call(pathToProjectVersion)
|
||||
{
|
||||
unsafeEcho "Detected Unity Version begin"
|
||||
echo("Detected Unity Version begin")
|
||||
|
||||
String projectVersionContents = readFile(pathToProjectVersion)
|
||||
|
||||
unsafeEcho "Get projectVersionContents: " + projectVersionContents
|
||||
|
||||
echo("Get projectVersionContents: " + projectVersionContents)
|
||||
|
||||
String unityVersion = projectVersionContents.split('\n')[0].split(':')[1].trim()
|
||||
|
||||
unsafeEcho "Detected Unity Version as: " + unityVersion
|
||||
echo("Detected Unity Version as: " + unityVersion)
|
||||
|
||||
return unityVersion
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user