Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ import hudson.model.Result;

def f = namespace(lib.FormTagLib)

f.optionalBlock (field:"runSequentially", title:_("Run each configuration sequentially"), inline:true) {
if (MatrixConfigurationSorterDescriptor.all().size()>1) {
f.dropdownDescriptorSelector(title:_("Execution order of builds"), field:"sorter")
}
// Execution order applies to both parallel and sequential scheduling (see DefaultMatrixExecutionStrategyImpl.run()).
// Keeping the sorter inside the sequential optional block hid it when parallel mode was selected and could drop the
// sorter on save when sequential was unchecked.
if (MatrixConfigurationSorterDescriptor.all().size()>1) {
f.dropdownDescriptorSelector(title:_("Execution order of builds"), field:"sorter")
}

f.entry(title:_("Run each configuration sequentially"), field:"runSequentially") {
f.checkbox()
}

f.optionalBlock (field:"hasTouchStoneCombinationFilter", title:_("Execute touchstone builds first"), inline:true) {
Expand Down
Loading