Jenkins_Pipeline_Library/vars/petHomePipeline.groovy
2025-12-25 19:15:49 +08:00

47 lines
1.3 KiB
Groovy

//=================================================================
// Byway Studios Inc. Confidential Information.
// Copyright Byway Studios Inc. All rights reserved
//=================================================================
def call(Map config)
{
pipeline
{
agent none
stages
{
stage("Build Android")
{
agent
{
label config.winbakeLabel
}
options
{
timeout{time: 2, unit: 'HOURS'}
}
steps
{
buildBundlesAndroid config
}
}
}
post
{
always
{
dingtalk(
robot:'dingtalk_unity_1',
type:'MARKDOWN',
title:'Build Notice',
text: [
"### ${currentBuild.currentResult}",
"- Project: ${env.JOB_NAME}",
"- BuildNumber: #${env.BUILD_NUMBER}",
"- Duration: ${currentBuild.durationString}",
"- LogUrl: ${env.BUILD_URL}"
]
}
}
}
}