0
我使用下列行我config.jelly詹金斯果冻选择不保存所选的选项
<f:entry title="${%Report file extension}" field="ReportExtension">
<select name="ReportBuilder.ReportExtension" selected = "${instance.ReportExtension}">
<option value="log" selected="${instance.ReportExtension=='log'}">log</option>
<option value="html" selected="${instance.ReportExtension=='html'}">html</option>
</select>
</f:entry>
如果我更改了一个Jenkis工作的价值,之后运行作业,正确的值是用来,但是如果我再次编辑作业,则选择未保存并且默认值再次存储。
有没有人见过这个?我尝试了几种不同的方法,但我无法使其工作。
你是一个天才:)。 我还必须从选择标记中删除选定的属性。但现在它的工作 – dpFourOFour