Fix gdsl intellij warnings

7 views
Skip to first unread message

red 888

unread,
Feb 14, 2018, 6:13:42 PM2/14/18
to Jenkins Users
I have my pipeline code in a shared repo and it looks like this:
def call(body) {

def config = [:]
body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = config
body()

pipeline {
agent any
options {...

Intellij complains 

How do i fix this without suppressing ALL warnings?
Reply all
Reply to author
Forward
0 new messages