添加skipDefaultCheckout
This commit is contained in:
parent
9242847dc3
commit
085f32f3e9
@ -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")
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user