Commit 6175e74d authored by Muhammad Tehami's avatar Muhammad Tehami 💡

hsbvhfs

parent f974fb18
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
def call(body) { def call(body) {
def config = [name:'Config'] def config = [name:'Config']
body.resolveStrategy = Closure.DELEGATE_FIRST // body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = config // body.delegate = config
body() body()
echo config.name echo config.name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment