当我试图在Jenkins控制台中执行以下Groovy脚本时,会出现以下错误。// get current thread / Executor// get current build
def build = thr?.executabledef parameters = build?.actions.find{ it instance
我试图将变量sampleArray传递给activeChoiceReactiveParam的groovyScript函数,不幸的是,生成的xml没有选择值。我在这个操场上试过了,,以及真正的詹金斯,结果都不管用。我的意思是sampleArray的价值不是被复制的。请告诉我如何实现这一点。 def sampleArray = ["one","two","three","four"]
description("this is to test