签入版本

This commit is contained in:
gitadmin
2025-09-21 20:59:25 +08:00
parent 9a522f4284
commit 2c2b79fad0
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ class ResolverService implements Serializable {
loadEnvConfig() loadEnvConfig()
// 然后加载主配置文件(根据环境配置中的路径) // 然后加载主配置文件(根据环境配置中的路径)
loadMainConfig() loadJobConfig()
script.echo "✅ 所有配置文件加载完成" script.echo "✅ 所有配置文件加载完成"
} }
@@ -122,7 +122,7 @@ class ResolverService implements Serializable {
* @return 返回当前对象实例,支持链式调用 * @return 返回当前对象实例,支持链式调用
* @throws Exception 如果文件不存在或解析失败 * @throws Exception 如果文件不存在或解析失败
*/ */
def loadMainConfig() { def loadJobConfig() {
try { try {
// 检查主配置文件是否存在 // 检查主配置文件是否存在
if (!script.fileExists(jobConfigFile)) { if (!script.fileExists(jobConfigFile)) {
+2 -2
View File
@@ -71,7 +71,7 @@ class ResolverService implements Serializable {
loadEnvConfig() loadEnvConfig()
// 然后加载主配置文件(根据环境配置中的路径) // 然后加载主配置文件(根据环境配置中的路径)
loadMainConfig() loadJobConfig()
script.echo "✅ 所有配置文件加载完成" script.echo "✅ 所有配置文件加载完成"
} }
@@ -122,7 +122,7 @@ class ResolverService implements Serializable {
* @return 返回当前对象实例,支持链式调用 * @return 返回当前对象实例,支持链式调用
* @throws Exception 如果文件不存在或解析失败 * @throws Exception 如果文件不存在或解析失败
*/ */
def loadMainConfig() { def loadJobConfig() {
try { try {
// 检查主配置文件是否存在 // 检查主配置文件是否存在
if (!script.fileExists(jobConfigFile)) { if (!script.fileExists(jobConfigFile)) {