refactor(executeFreeleapsPipeline): update function signature to accept configurations directly
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
c84c65ce87
commit
37253e85b4
@ -7,11 +7,7 @@ import com.freeleaps.devops.enums.ServiceLanguage
|
||||
import com.freeleaps.devops.CommitMessageLinter
|
||||
import com.freeleaps.devops.ChangedComponentsDetector
|
||||
|
||||
def call(body) {
|
||||
def configurations = [:]
|
||||
body.resolveStrategy = Closure.DELEGATE_FIRST
|
||||
body.delegate = configurations
|
||||
body()
|
||||
def call(configurations) {
|
||||
|
||||
def sourceFetcher = new SourceFetcher(this)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user