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.String
ticsConfiguration
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.String
projectName
TICSMaintenance
from the command line. Note that you can use Jenkins environment variables such as $JOB_NAME
here.String
branchName
String
branchDirectory
TICSMaintenance -branchdir
. Note that you can use Jenkins variables (such as $WORKSPACE
) here.String
environmentVariables
$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
String
createTmpdir
boolean
tmpdir
C:/temp/$JOB_NAME
.String
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
publishTicsResults
:viewerUrl
String
branchName
(optional)
String
checkQualityGate
(optional)
boolean
failIfQualityGateFails
(optional)
boolean
projectName
(optional)
String
ticsProjectPath
(optional)
String
userId
(optional)
String
userName
(optional)
String
runTics
:projectName
String
branchName
String
branchDirectory
(optional)
String
calc
(optional)
String
environmentVariables
(optional)
java.util.LinkedHashMap<java.lang.String, java.lang.String>
extraArguments
(optional)
String
recalc
(optional)
String
ticsBin
(optional)
String
ticsConfiguration
(optional)
String
tmpdir
(optional)
String
step([$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
.
String
ticsPath
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.String
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.