Package org.jenkinsci.plugins.codesonar
Class CodeSonarJobDslContext
java.lang.Object
org.jenkinsci.plugins.codesonar.CodeSonarJobDslContext
- All Implemented Interfaces:
javaposse.jobdsl.dsl.Context
Provides for optional parameters in a CodeSonar plugin job-dsl declaration implemented by CodeSonarJobDslExtension.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
absoluteWarningCount
(int rank, int count, boolean fail) void
comparisonAnalysis
(String value) void
cyclomaticComplexity
(int max, boolean fail) int
void
newWarningCountIncrease
(float percentage, boolean fail) void
newWarningsFilter
(String value) void
overallWarningCountIncrease
(float percentage, boolean fail) void
projectFile
(String value) void
rankedWarningCountIncrease
(int rank, float percentage, boolean fail) void
redAlert
(int max, boolean fail) void
socketTimeoutMS
(int value) void
sslCertificateCredentialId
(String value) void
yellowAlert
(int max, boolean fail)
-
Constructor Details
-
CodeSonarJobDslContext
public CodeSonarJobDslContext()
-
-
Method Details
-
socketTimeoutMS
public void socketTimeoutMS(int value) -
sslCertificateCredentialId
-
projectFile
-
newWarningsFilter
-
comparisonAnalysis
-
cyclomaticComplexity
public void cyclomaticComplexity(int max, boolean fail) -
redAlert
public void redAlert(int max, boolean fail) -
yellowAlert
public void yellowAlert(int max, boolean fail) -
newWarningCountIncrease
public void newWarningCountIncrease(float percentage, boolean fail) -
overallWarningCountIncrease
public void overallWarningCountIncrease(float percentage, boolean fail) -
rankedWarningCountIncrease
public void rankedWarningCountIncrease(int rank, float percentage, boolean fail) -
absoluteWarningCount
public void absoluteWarningCount(int rank, int count, boolean fail) -
getConditions
-
getSocketTimeoutMS
public int getSocketTimeoutMS() -
getSslCertificateCredentialId
-
getProjectFile
-
getNewWarningsFilter
-
getComparisonAnalysis
-