您是否可以使用jobDsl在jenkins pipelineJob
中使用allocatePorts插件?如果是这样,正确的语法是什么?
我们希望jenkins提供一个可用端口将作业中的测试服务器绑定到其中,但是wrapper
闭包在this deprecation notification的pipelineJobs中似乎不再有效。
No signature of method: javaposse.jobdsl.dsl.jobs.WorkflowJob.wrappers() is applicable for argument types: (PR$_run_closure1$_closure5) values
答案 0 :(得分:0)
Port Allocator插件当前不支持管道作业。有一个待处理的拉取请求,请参阅https://github.com/jenkinsci/port-allocator-plugin/pull/10。