Commit adc4c93f authored by kmohiuddin's avatar kmohiuddin

modified hello.groovy in var

parent 0e6e54de
def call(body){ def call(body){
echo "Hello Ibrahim" echo "Hello Ibrahim"
return this
} }
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
def call(body) { def call(body) {
def config = [:] def config = [:]
body.resolveStrategy = Closure.DELEGATE_FIRST //body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = config body.delegate = config
body() body()
......
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