Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Groovy 忽略缺少的凭据jenkins DSL_Groovy_Dsl_Jenkins Job Dsl - Fatal编程技术网

Groovy 忽略缺少的凭据jenkins DSL

Groovy 忽略缺少的凭据jenkins DSL,groovy,dsl,jenkins-job-dsl,Groovy,Dsl,Jenkins Job Dsl,如何使用DSL Groovy脚本在ssh代理下启用Ignore missing credential选项? 我尝试过使用ignoreMissingCredentials=true,但没有成功。似乎: wrappers { sshAgentBuildWrapper { ignoreMissing(true) } } 可能就是您要查找的内容。错误:没有方法签名:javaposse.jobdsl.dsl.helpers.wrapper.WrapperContext.ignor

如何使用DSL Groovy脚本在ssh代理下启用Ignore missing credential选项? 我尝试过使用
ignoreMissingCredentials=true
,但没有成功。

似乎:

wrappers {
   sshAgentBuildWrapper {
      ignoreMissing(true)
   }
}

可能就是您要查找的内容。

错误:没有方法签名:javaposse.jobdsl.dsl.helpers.wrapper.WrapperContext.ignoreMissing()适用于参数类型:(java.lang.Boolean)value:[true]@devops,您配置了while上下文吗?请看编辑后的问题。