添加skipDefaultCheckout

This commit is contained in:
mwh 2025-12-26 17:36:57 +08:00
parent 9242847dc3
commit 085f32f3e9
2 changed files with 6 additions and 2 deletions

View File

@ -8,6 +8,10 @@ def call(Map config)
pipeline
{
agent none
options
{
skipDefaultCheckout(true) // Jenkins checkout library
}
stages
{
stage("Checkout Unity Project")
@ -44,7 +48,7 @@ def call(Map config)
}
steps
{
buildBundlesAndroid config
BuildBundlesAndroid config
}
}
stage("AchiveArtifact")

View File

@ -5,7 +5,7 @@
def call(publishSubFolder)
{
// Move artifacts to an Android subdirectory
// Move artifacts to an Android subdirectory and achive
bat """
if exist tmpPublish rmdir /S /Q tmpPublish
mkdir tmpPublish