Skip to content

Commit

Permalink
Merge pull request #368 from code-arnab/fix-noOfBuilds
Browse files Browse the repository at this point in the history
[JENKINS-66384] Fix minimum number of builds validation
  • Loading branch information
uhafner authored Dec 27, 2024
2 parents badf32b + 55f799f commit 03e2a0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/charts/chart-setup.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</div>
<div class="mb-3">
<label for="builds-${id}" class="form-label">Maximum number of builds to consider</label>
<input type="number" min="2" class="form-control" id="builds-${id}" required="true"/>
<input type="number" min="1" class="form-control" id="builds-${id}" required="true"/>
<div id="builds-help-${id}" class="form-text">If set to a value less than 2 then all builds will be
considered.
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/charts/trend-setup.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</label>
</div>
<div class="mb-3">
<input type="number" min="2" class="form-control" id="builds-${suffix}" required="true"/>
<input type="number" min="1" class="form-control" id="builds-${suffix}" required="true"/>
<label for="builds-${suffix}" class="form-label">Maximum number of builds to consider</label>
<div id="builds-help-${suffix}" class="form-text">If set to a value less than 2 then all builds will be
considered.
Expand Down

0 comments on commit 03e2a0d

Please sign in to comment.