Skip to content

Commit

Permalink
Add integer based threshold to quality gate.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jan 4, 2024
1 parent 96a63ca commit 7c345c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<argLine>-Djava.awt.headless=true -Xmx1024m -Djenkins.test.timeout=1000 --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED</argLine>

<prism-api.version>1.29.0-8</prism-api.version>
<plugin-util-api.version>3.9.0-rc852.80b_65e3a_1549</plugin-util-api.version>
<plugin-util-api.version>3.9.0-rc853.384b_719b_9ff9</plugin-util-api.version>

</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ public class WarningsQualityGate extends QualityGate {
/**
* Creates a new instance of {@link WarningsQualityGate}.
*
* @param threshold
* @param integerThreshold
* the minimum number of issues that fails the quality gate
* @param type
* the type of the quality gate
*/
@DataBoundConstructor
public WarningsQualityGate(final double threshold, final QualityGateType type) {
super(threshold);
public WarningsQualityGate(final int integerThreshold, final QualityGateType type) {
super(integerThreshold);

this.type = type;
}
Expand Down

0 comments on commit 7c345c7

Please sign in to comment.