【问题标题】:Using active choice reactive parameter in jenkinsfile在 jenkinsfile 中使用主动选择反应参数
【发布时间】:2019-03-21 20:46:11
【问题描述】:

我正在使用主动选择反应参数,我想访问我的 jenkinsfile 中的选定值。

有什么方法可以访问我的 jenkinsfile 中的 select_server 吗?因为我尝试了${select_server},但没有成功。

【问题讨论】:

    标签: jenkins jenkins-pipeline jenkins-plugins


    【解决方案1】:

    在花了一些时间之后,我在 jenkinsfile 中找到了访问它的方法。响应式选择参数可以简单地通过做来访问

     ${params.Select_Server} 
    

    在我的示例中,参数的名称是"Select_Server"。也许这可以帮助将来的人

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-16
      • 2017-11-07
      • 1970-01-01
      • 1970-01-01
      • 2020-11-15
      相关资源
      最近更新 更多