Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用主动选择反应参数,我想访问我的 jenkinsfile 中的选定值。
有什么方法可以访问我的 jenkinsfile 中的 select_server 吗?因为我试过${select_server}了,但这没有用。
${select_server}
在花了一些时间之后,我找到了一种在 jenkinsfile 中访问它的方法。反应选择参数可以通过做简单地访问
${params.Select_Server}
在我的示例中,参数的名称是"Select_Server". 也许这可以在未来帮助某人
"Select_Server"