The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
step([$class: 'TicsAnalyzer']): Run TICSticsPath
C:\Program Files (x86)\TIOBE\TICS\BuildServer. This directory should contain the TICSQServer and TICSMaintenance executables. You can leave this field empty if these executables can be found on the PATH environment variable of the Jenkins slave user.StringticsConfiguration
C:\Program Files (x86)\TIOBE\TICS\FileServer\cfg. The TICS configuration directory contains the SERVER.txt and PROJECTS.txt configuration files, among others. This setting sets the TICS environment variable before executing TICSQServer. You can leave this field empty if this variable is already set on the Jenkins slave.StringprojectName
TICSMaintenance from the command line. Note that you can use Jenkins environment variables such as $JOB_NAME here.StringbranchName
StringbranchDirectory
TICSMaintenance -branchdir. Note that you can use Jenkins variables (such as $WORKSPACE) here.StringenvironmentVariables
$WORKSPACE here. Example:
TICS_M2_OPTS=-s C:\Tools\apache-maven\conf\settings.xml TICS_COVERITY_URL=http://localhost:8080 QACBIN=C:/QAC/common/bin PATH=C:\Tools\bin;$PATH
StringcreateTmpdir
booleantmpdir
C:/temp/$JOB_NAME.StringextraArguments
Stringcalc
ABSTRACTINTERPRETATION
booleanACCUCHANGERATE
booleanACCUFIXRATE
booleanACCULINESADDED
booleanACCULINESCHANGED
booleanACCULINESDELETED
booleanALL
booleanAVGCYCLOMATICCOMPLEXITY
booleanBUILDRELATIONS
booleanCHANGEDFILES
booleanCHANGERATE
booleanCODINGSTANDARD
booleanCOMPILERWARNING
booleanDEADCODE
booleanDUPLICATEDCODE
booleanELOC
booleanFANOUT
booleanFINALIZE
booleanFIXRATE
booleanGLOC
booleanINCLUDERELATIONS
booleanINTEGRATIONTESTCOVERAGE
booleanLINESADDED
booleanLINESCHANGED
booleanLINESDELETED
booleanLOC
booleanMAXCYCLOMATICCOMPLEXITY
booleanPREPARE
booleanSECURITY
booleanSYSTEMTESTCOVERAGE
booleanTOTALTESTCOVERAGE
booleanUNITTESTCOVERAGE
booleanrecalc
ABSTRACTINTERPRETATION
booleanACCUCHANGERATE
booleanACCUFIXRATE
booleanACCULINESADDED
booleanACCULINESCHANGED
booleanACCULINESDELETED
booleanALL
booleanAVGCYCLOMATICCOMPLEXITY
booleanBUILDRELATIONS
booleanCHANGEDFILES
booleanCHANGERATE
booleanCODINGSTANDARD
booleanCOMPILERWARNING
booleanDEADCODE
booleanDUPLICATEDCODE
booleanELOC
booleanFANOUT
booleanFINALIZE
booleanFIXRATE
booleanGLOC
booleanINCLUDERELATIONS
booleanINTEGRATIONTESTCOVERAGE
booleanLINESADDED
booleanLINESCHANGED
booleanLINESDELETED
booleanLOC
booleanMAXCYCLOMATICCOMPLEXITY
booleanPREPARE
booleanSECURITY
booleanSYSTEMTESTCOVERAGE
booleanTOTALTESTCOVERAGE
booleanUNITTESTCOVERAGE
booleanpublishTicsResults:viewerUrl
StringbranchName (optional)
StringcheckQualityGate (optional)
booleanfailIfQualityGateFails (optional)
booleanprojectName (optional)
StringticsProjectPath (optional)
StringuserId (optional)
StringuserName (optional)
StringrunTics:projectName
StringbranchName
StringbranchDirectory (optional)
Stringcalc (optional)
StringenvironmentVariables (optional)
java.util.LinkedHashMap<java.lang.String, java.lang.String>extraArguments (optional)
Stringrecalc (optional)
StringticsBin (optional)
StringticsConfiguration (optional)
Stringtmpdir (optional)
Stringstep([$class: 'TicsPublisher']): Publish TICS resultsviewerUrl
http://192.168.1.1:8080/tiobeweb/TICS. To determine this URL, open your TICS Viewer, and copy and paste the first part of the URL from your browser's address bar here. The URL should include the name of the section, which in this case is TICS.
StringticsPath
HIE://PROJECT/BRANCH, where PROJECT should be substituted by the actual name of the project and BRANCH by the branch name for which you want to get the results. The name of the project and the name of the default branch can be found in the top part of the TIOBE Quality Indicator Label on the TQI Dashboard, when you select the project. Note that you can use the variable $JOB_NAME here.StringcredentialsId
StringcheckQualityGate
booleanfailIfQualityGateFails
booleanPlease submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.