ignore missing credentials jenkins DSL

401 Views Asked by At

How to enable Ignore missing credential option under ssh-agent using DSL Groovy script? I have tried using ignoreMissingCredentials = true, but no luck.

1

There are 1 best solutions below

2
On BEST ANSWER

It seems that:

wrappers {
   sshAgentBuildWrapper {
      ignoreMissing(true)
   }
}

might be what are you looking for.