//================================================================= // Byway Studios Inc. Confidential Information. // 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\\*" """ echo("execUnityMethod begin") //Generate AssetBundle to AB //params: is Clean packageCache,Build Method execUnityMethod_Windows(config.alwaysClearPackageCache, "${config.execUnityMethod}") //stash in pipeline , maybe wait to make differents //stash allowEmpty: true, includes: '**/AB/**', name:"${config.name}_bundles_android" }