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 : String
C:\Program Files\TIOBE\TICS\BuildServer
. This directory should contain the TICSQServer
executable. You can leave this field empty if these executables can be found on the PATH environment variable of the Jenkins agent user or if you checked the "Install TICS command-line tools" checkbox.ticsConfiguration : String
Τhe TICS Configuration is a URL pointing to the 'cfg' API endpoint of the TICS Viewer. It is of the following format https://192.168.1.1/tiobeweb/TICS/api/cfg?name=-
. This URL contains the name of the TICS Analyzer Configuration or '-' in case of the default configuration. Please ask your TICS Representative to provide you with a valid configuration name.
For TICS installations using the legacy deployment architecture, TICS Configuration points to the configuration directory, e.g. C:\Program Files (x86)\TIOBE\TICS\FileServer\cfg
. The TICS configuration directory contains the SERVER.yaml
and PROJECTS.yaml
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.
projectName : String
TICSMaintenance
from the command line. Note that you can use Jenkins environment variables such as $JOB_NAME
here.branchName : String
branchDirectory : String
TICSMaintenance -branchdir
. Note that you can use Jenkins variables (such as $WORKSPACE
) here.environmentVariables : String
$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
createTmpdir : boolean
tmpdir : String
C:/temp/$JOB_NAME
.extraArguments : String
calc
ABSTRACTINTERPRETATION : boolean
ACCUCHANGERATE : boolean
ACCUFIXRATE : boolean
ACCULINESADDED : boolean
ACCULINESCHANGED : boolean
ACCULINESDELETED : boolean
AI : boolean
ALL : boolean
AVGCYCLOMATICCOMPLEXITY : boolean
BEGIN : boolean
BUILDRELATIONS : boolean
CHANGEDFILES : boolean
CHANGERATE : boolean
CODINGSTANDARD : boolean
COMPILERWARNING : boolean
CS : boolean
CW : boolean
CY : boolean
CYCLOMATICCOMPLEXITY : boolean
DEADCODE : boolean
DUP : boolean
DUPLICATEDCODE : boolean
DUPLICATEDCODECUSTOM : boolean
ELOC : boolean
END : boolean
FANOUT : boolean
FANOUT_INTEXT : boolean
FINALIZE : boolean
FIXRATE : boolean
GLOC : boolean
HIS_AVGCYCLOMATICCOMPLEXITY : boolean
HIS_CALLLEVELS : boolean
HIS_CALLLEVELS_MAX : boolean
HIS_CODINGSTANDARD : boolean
HIS_COMMENTDENSITY : boolean
HIS_FUNCCALLS : boolean
HIS_FUNCCALLS_MAX : boolean
HIS_FUNCCYCLE : boolean
HIS_FUNCCYCLE_MAX : boolean
HIS_FUNCSIZE : boolean
HIS_FUNCSIZE_MAX : boolean
HIS_GOTOSTATEMENTS : boolean
HIS_GOTOSTATEMENTS_MAX : boolean
HIS_MAXCYCLOMATICCOMPLEXITY : boolean
HIS_PARAMCOUNT : boolean
HIS_PARAMCOUNT_MAX : boolean
HIS_PATHCOUNT : boolean
HIS_PATHCOUNT_MAX : boolean
HIS_RETURNPOINTS : boolean
HIS_RETURNPOINTS_MAX : boolean
HIS_VOCF : boolean
INCLUDERELATIONS : boolean
INTEGRATIONBRANCHCOVERAGE : boolean
INTEGRATIONDECISIONCOVERAGE : boolean
INTEGRATIONFUNCTIONCOVERAGE : boolean
INTEGRATIONSTATEMENTCOVERAGE : boolean
INTEGRATIONTESTCOVERAGE : boolean
ITC : boolean
LINESADDED : boolean
LINESCHANGED : boolean
LINESDELETED : boolean
LOC : boolean
MAXCYCLOMATICCOMPLEXITY : boolean
PATHCOUNT : boolean
PATHCOUNT_MAX : boolean
POSTANA : boolean
PREPARE : boolean
SEC : boolean
SECURITY : boolean
STC : boolean
SYSTEMBRANCHCOVERAGE : boolean
SYSTEMDECISIONCOVERAGE : boolean
SYSTEMFUNCTIONCOVERAGE : boolean
SYSTEMSTATEMENTCOVERAGE : boolean
SYSTEMTESTCOVERAGE : boolean
TOTALBRANCHCOVERAGE : boolean
TOTALDECISIONCOVERAGE : boolean
TOTALFUNCTIONCOVERAGE : boolean
TOTALSTATEMENTCOVERAGE : boolean
TOTALTESTCOVERAGE : boolean
TTC : boolean
UNITBRANCHCOVERAGE : boolean
UNITDECISIONCOVERAGE : boolean
UNITFUNCTIONCOVERAGE : boolean
UNITSTATEMENTCOVERAGE : boolean
UNITTESTCOVERAGE : boolean
UTC : boolean
recalc
ABSTRACTINTERPRETATION : boolean
ACCUCHANGERATE : boolean
ACCUFIXRATE : boolean
ACCULINESADDED : boolean
ACCULINESCHANGED : boolean
ACCULINESDELETED : boolean
AI : boolean
ALL : boolean
AVGCYCLOMATICCOMPLEXITY : boolean
BEGIN : boolean
BUILDRELATIONS : boolean
CHANGEDFILES : boolean
CHANGERATE : boolean
CODINGSTANDARD : boolean
COMPILERWARNING : boolean
CS : boolean
CW : boolean
CY : boolean
CYCLOMATICCOMPLEXITY : boolean
DEADCODE : boolean
DUP : boolean
DUPLICATEDCODE : boolean
DUPLICATEDCODECUSTOM : boolean
ELOC : boolean
END : boolean
FANOUT : boolean
FANOUT_INTEXT : boolean
FINALIZE : boolean
FIXRATE : boolean
GLOC : boolean
HIS_AVGCYCLOMATICCOMPLEXITY : boolean
HIS_CALLLEVELS : boolean
HIS_CALLLEVELS_MAX : boolean
HIS_CODINGSTANDARD : boolean
HIS_COMMENTDENSITY : boolean
HIS_FUNCCALLS : boolean
HIS_FUNCCALLS_MAX : boolean
HIS_FUNCCYCLE : boolean
HIS_FUNCCYCLE_MAX : boolean
HIS_FUNCSIZE : boolean
HIS_FUNCSIZE_MAX : boolean
HIS_GOTOSTATEMENTS : boolean
HIS_GOTOSTATEMENTS_MAX : boolean
HIS_MAXCYCLOMATICCOMPLEXITY : boolean
HIS_PARAMCOUNT : boolean
HIS_PARAMCOUNT_MAX : boolean
HIS_PATHCOUNT : boolean
HIS_PATHCOUNT_MAX : boolean
HIS_RETURNPOINTS : boolean
HIS_RETURNPOINTS_MAX : boolean
HIS_VOCF : boolean
INCLUDERELATIONS : boolean
INTEGRATIONBRANCHCOVERAGE : boolean
INTEGRATIONDECISIONCOVERAGE : boolean
INTEGRATIONFUNCTIONCOVERAGE : boolean
INTEGRATIONSTATEMENTCOVERAGE : boolean
INTEGRATIONTESTCOVERAGE : boolean
ITC : boolean
LINESADDED : boolean
LINESCHANGED : boolean
LINESDELETED : boolean
LOC : boolean
MAXCYCLOMATICCOMPLEXITY : boolean
PATHCOUNT : boolean
PATHCOUNT_MAX : boolean
POSTANA : boolean
PREPARE : boolean
SEC : boolean
SECURITY : boolean
STC : boolean
SYSTEMBRANCHCOVERAGE : boolean
SYSTEMDECISIONCOVERAGE : boolean
SYSTEMFUNCTIONCOVERAGE : boolean
SYSTEMSTATEMENTCOVERAGE : boolean
SYSTEMTESTCOVERAGE : boolean
TOTALBRANCHCOVERAGE : boolean
TOTALDECISIONCOVERAGE : boolean
TOTALFUNCTIONCOVERAGE : boolean
TOTALSTATEMENTCOVERAGE : boolean
TOTALTESTCOVERAGE : boolean
TTC : boolean
UNITBRANCHCOVERAGE : boolean
UNITDECISIONCOVERAGE : boolean
UNITFUNCTIONCOVERAGE : boolean
UNITSTATEMENTCOVERAGE : boolean
UNITTESTCOVERAGE : boolean
UTC : boolean
installTics : boolean
credentialsId : String
publishTicsResults
:viewerUrl : String
branchName : String
(optional)
checkQualityGate : boolean
(optional)
credentialsId : String
(optional)
failIfQualityGateFails : boolean
(optional)
projectName : String
(optional)
ticsProjectPath : String
(optional)
userId : String
(optional)
userName : String
(optional)
runTics
:projectName : String
branchName : String
branchDirectory : String
(optional)
calc : Array / List of String
(optional)
credentialsId : String
(optional)
environmentVariables
(optional)
java.util.LinkedHashMap<java.lang.String, java.lang.String>
extraArguments : String
(optional)
installTics : boolean
(optional)
recalc : Array / List of String
(optional)
ticsBin : String
(optional)
ticsConfiguration : String
(optional)
tmpdir : String
(optional)
step([$class: 'TicsPublisher'])
: Publish TICS resultsviewerUrl : String
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
.
ticsPath : String
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.credentialsId : String
checkQualityGate : boolean
failIfQualityGateFails : boolean
Please 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.