签入版本
This commit is contained in:
parent
9a522f4284
commit
2c2b79fad0
@ -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)) {
|
||||||
|
|||||||
@ -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)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user