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 
<https://lh3.googleusercontent.com/-ySUXvi0HWNE/WoTCiDZFIzI/AAAAAAAAAHE/05xxzYk59Pwvuzb-biRaIGwk5G_OdMqBACLcBGAs/s1600/Capture.PNG>

How do i fix this without suppressing ALL warnings?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ed9e235e-46a1-435d-afa1-e77051adf824%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to