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
ALL : boolean
AVGCYCLOMATICCOMPLEXITY : boolean
BUILDRELATIONS : boolean
CHANGEDFILES : boolean
CHANGERATE : boolean
CODINGSTANDARD : boolean
COMPILERWARNING : boolean
DEADCODE : boolean
DUPLICATEDCODE : boolean
ELOC : boolean
FANOUT : boolean
FINALIZE : boolean
FIXRATE : boolean
GLOC : boolean
INCLUDERELATIONS : boolean
INTEGRATIONTESTCOVERAGE : boolean
LINESADDED : boolean
LINESCHANGED : boolean
LINESDELETED : boolean
LOC : boolean
MAXCYCLOMATICCOMPLEXITY : boolean
PREPARE : boolean
SECURITY : boolean
SYSTEMTESTCOVERAGE : boolean
TOTALTESTCOVERAGE : boolean
UNITTESTCOVERAGE : boolean
recalc
ABSTRACTINTERPRETATION : boolean
ACCUCHANGERATE : boolean
ACCUFIXRATE : boolean
ACCULINESADDED : boolean
ACCULINESCHANGED : boolean
ACCULINESDELETED : boolean
ALL : boolean
AVGCYCLOMATICCOMPLEXITY : boolean
BUILDRELATIONS : boolean
CHANGEDFILES : boolean
CHANGERATE : boolean
CODINGSTANDARD : boolean
COMPILERWARNING : boolean
DEADCODE : boolean
DUPLICATEDCODE : boolean
ELOC : boolean
FANOUT : boolean
FINALIZE : boolean
FIXRATE : boolean
GLOC : boolean
INCLUDERELATIONS : boolean
INTEGRATIONTESTCOVERAGE : boolean
LINESADDED : boolean
LINESCHANGED : boolean
LINESDELETED : boolean
LOC : boolean
MAXCYCLOMATICCOMPLEXITY : boolean
PREPARE : boolean
SECURITY : boolean
SYSTEMTESTCOVERAGE : boolean
TOTALTESTCOVERAGE : boolean
UNITTESTCOVERAGE : 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.