Jenkins基于先前选择的参数值的动态参数 [英] Jenkins Dynamic parameters based on previously selected parameter value

查看:1105
本文介绍了Jenkins基于先前选择的参数值的动态参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里,我基本上是在寻找依赖项参数.

Here I am basically looking for a dependency parameter.

比方说,我在构建参数部分有两个下拉菜单.根据从第一个下拉列表中选择的值,可能的默认值 我希望第二个下拉菜单的值有所不同.

Let's say I have two dropdowns in the build parameter section. Based on the value selected from the first dropdown the possible default I want the values of the second dropdown to vary.

是否有任何插件或方法可以有效地处理此要求?

Is there any plugin or approach to handle this requirement effectively?

推荐答案

这正是您要查找的内容: https://github.com/biouno/uno-choice- plugin/wiki/Uno-Choice-Cascade-Dynamic-Choice-Parameter

This is exactly what you are looking for: https://github.com/biouno/uno-choice-plugin/wiki/Uno-Choice-Cascade-Dynamic-Choice-Parameter

它似乎是一颗隐藏的宝石,到目前为止,在任何类似问题中都没有找到它.

It seems to be a hidden gem, haven't found it in any of the similar questions so far.

这篇关于Jenkins基于先前选择的参数值的动态参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆