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 TypeMethodDescriptionvoidabsoluteWarningCount(int rank, int count, boolean fail) voidcomparisonAnalysis(String value) voidcyclomaticComplexity(int max, boolean fail) intvoidnewWarningCountIncrease(float percentage, boolean fail) voidnewWarningsFilter(String value) voidoverallWarningCountIncrease(float percentage, boolean fail) voidprojectFile(String value) voidrankedWarningCountIncrease(int rank, float percentage, boolean fail) voidredAlert(int max, boolean fail) voidsocketTimeoutMS(int value) voidsslCertificateCredentialId(String value) voidyellowAlert(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
-