refactor(executeFreeleapsPipeline): update function signature to accept configurations directly

Signed-off-by: 孙振宇 <>
This commit is contained in:
孙振宇 2025-02-04 10:40:41 +08:00
parent c84c65ce87
commit 37253e85b4

View File

@ -7,11 +7,7 @@ import com.freeleaps.devops.enums.ServiceLanguage
import com.freeleaps.devops.CommitMessageLinter import com.freeleaps.devops.CommitMessageLinter
import com.freeleaps.devops.ChangedComponentsDetector import com.freeleaps.devops.ChangedComponentsDetector
def call(body) { def call(configurations) {
def configurations = [:]
body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = configurations
body()
def sourceFetcher = new SourceFetcher(this) def sourceFetcher = new SourceFetcher(this)