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.

Klocwork Analysis Plug-in

klocworkBuildSpecGeneration: Klocwork - Step 1 (CI/Full) - Capture Build Information

  • buildSpecConfig
      Nested Object
    • buildCommand
      Specify your project's build command. This command is used to compile the project and capture information about the build in a build specification file that Klocwork will use for the analysis.
      • Type: String
    • tool
      The Klocwork tool used to generate the build specification, by default this is set to kwinject.
      Tools Available: kwinject monitors your C/C++ build to create a build specification kwmaven creates a Java build specification based on the information in your maven build file kwmavenw creates a Java build specification based on the information in your maven wrapper file kwjsspec creates a Javascript build specification file kwpyspec creates a Python build specification file kwant creates a Java build specification based on the information in your ant build file kwvcprojparser provides an alternative when kwinject cannot be used to create a build specification for a Microsoft Visual Studio 2012 or 2015 C/C++ project; however, it only provides results based on the previous generation (pre-Klocwork 2018) analysis engine kwcsprojparser creates a build specification for Visual Studio C# projects and solutions create tracefile uses kwinject to create a trace file, mainly used for debugging kwgradle creates a Java build specification based on the information in your Gradle build file kwgradlew creates a Java build specification based on the information in your Gradle wrapper file
      • Type: String
    • output
      Specify the build specification output filename and, optionally, its file path. By default, the build specification is written to kwinject.out in the current working directory. The specified file path can be absolute or relative to the workspace directory.
      • Type: String
    • additionalOpts
      Specify other tool options here. Separate the options with whitespace; surround any arguments with whitespace in double quotes.
      • Type: String
    • ignoreErrors
      Ignore any error return codes from this step and continue.
      • Type: boolean

klocworkFailureCondition: Klocwork - Post Analysis (Full/CI) - Build Failure Conditions (Optional)

  • failureConditionConfig
      Nested Object
    • enableServerFailureCondition (optional)

      Full integration analysis build failure conditions (Full)

      Create multiple build failure conditions by using queries that are sent to the Klocwork Server through the Web API.

      Filter issues based on the search query, then provide the status to set the build to, along with the threshold (the number of issues to meet this criteria).

      Note: unless specified, the query runs with issue grouping turned off (grouping:off).

      • Type: boolean
    • failureConditionServerConfigs (optional)
        Array / List of Nested Object
      • jobResult
        • Type: String
      • query
        • Type: String
      • threshold
        • Type: String
      • conditionName
        • Type: String
      • stopBuild
        • Type: boolean
      • enableHTMLReporting
        • Type: boolean
    • enableCiFailureCondition (optional)

      Differential analysis build failure conditions (CI)

      Set a threshold for the differential analysis build failure conditions. Pass the build if the threshold is not exceeded; fail otherwise.

      This step checks the XML report generated by the differential analysis build step. You can filter which issues appear in this report by providing additional options to the differential analysis build step.

      This step counts the total number of issues in the XML report.

      • Type: boolean
    • enableDesktopFailureCondition (optional)
      • Type: boolean
    • failureConditionCiConfig (optional)
        Nested Object
      • withDiffList
        • Type: boolean
      • diffFileList
        • Type: String
      • threshold (optional)
        • Type: String
      • reportFile (optional)
        • Type: String
      • enableHTMLReporting (optional)
        • Type: boolean
      • enabledSeverites (optional)
          Nested Object
        • critical
          • Type: boolean
        • error
          • Type: boolean
        • warning
          • Type: boolean
        • review
          • Type: boolean
        • fiveToTen
          • Type: boolean
      • enabledStatuses (optional)
          Nested Object
        • analyze
          • Type: boolean
        • ignore
          • Type: boolean
        • notAProblem
          • Type: boolean
        • fix
          • Type: boolean
        • fixInNextRelease
          • Type: boolean
        • fixInLaterRelease
          • Type: boolean
        • defer
          • Type: boolean
        • filter
          • Type: boolean
      • failUnstable (optional)
        • Type: boolean
      • name (optional)
        • Type: String
      • stopBuild (optional)
        • Type: boolean
    • failureConditionCiConfigs (optional)
        Array / List of Nested Object
      • withDiffList
        • Type: boolean
      • diffFileList
        • Type: String
      • threshold (optional)
        • Type: String
      • reportFile (optional)
        • Type: String
      • enableHTMLReporting (optional)
        • Type: boolean
      • enabledSeverites (optional)
          Nested Object
        • critical
          • Type: boolean
        • error
          • Type: boolean
        • warning
          • Type: boolean
        • review
          • Type: boolean
        • fiveToTen
          • Type: boolean
      • enabledStatuses (optional)
          Nested Object
        • analyze
          • Type: boolean
        • ignore
          • Type: boolean
        • notAProblem
          • Type: boolean
        • fix
          • Type: boolean
        • fixInNextRelease
          • Type: boolean
        • fixInLaterRelease
          • Type: boolean
        • defer
          • Type: boolean
        • filter
          • Type: boolean
      • failUnstable (optional)
        • Type: boolean
      • name (optional)
        • Type: String
      • stopBuild (optional)
        • Type: boolean
    • failureConditionDesktopConfig (optional)
        Nested Object
      • withDiffList
        • Type: boolean
      • diffFileList
        • Type: String
      • threshold (optional)
        • Type: String
      • reportFile (optional)
        • Type: String
      • enableHTMLReporting (optional)
        • Type: boolean
      • enabledSeverites (optional)
          Nested Object
        • critical
          • Type: boolean
        • error
          • Type: boolean
        • warning
          • Type: boolean
        • review
          • Type: boolean
        • fiveToTen
          • Type: boolean
      • enabledStatuses (optional)
          Nested Object
        • analyze
          • Type: boolean
        • ignore
          • Type: boolean
        • notAProblem
          • Type: boolean
        • fix
          • Type: boolean
        • fixInNextRelease
          • Type: boolean
        • fixInLaterRelease
          • Type: boolean
        • defer
          • Type: boolean
        • filter
          • Type: boolean
      • failUnstable (optional)
        • Type: boolean
      • name (optional)
        • Type: String
      • stopBuild (optional)
        • Type: boolean

klocworkIncremental: Klocwork - Step 2 (CI) - Run Differential Analysis

  • ciConfig
      Nested Object
    • buildSpec
      Build specification to use for analysis. Path is relative to the workspace
      • Type: String
    • projectDir
      • Type: String
    • cleanupProject
      • Type: boolean
    • reportFile
      XML report file in which to store Klocwork results. Optional, in case you want to use the XML report for something custom; otherwise, a default file is created for the post-build step.
      • Type: String
    • additionalOpts
      Additional options added to the kwciagent run command. For example, specify the number of jobs/threads to use (--jobs-num) or which filters to apply (--severity --taxonomy --system)
      See the Klocwork documentation for more information.
      • Type: String
    • incrementalAnalysis

      Analyze changed files only

      This feature allows for quick, incremental analyses of changed source files to enable pre/post-checkin/commit-like behavior . The goal is that only changed files are analyzed by the Klocwork kwciagent tool to replicate the local analysis developers would perform by using our supported IDE plugins or the command line utility. To enable this behavior, the plugin takes a list of the changed files from the SCM; this enables the system to analyze only the changed files when the workspace isn’t kept. Leave this cleared to analyze the whole project, or, if the workspace is kept, to perform a standard incremental analysis.

      Diff file list

      The diff file list is the file that contains the changed source files for Klocwork to analyze. All analyzed files must exist in the build specification generated by kwinject.

      Note: All files to be analyzed must exist in the build specification.

      Using Git

      If using Git, provide the previous commit that Git should perform a "diff" against. The change list between the current commit and the specified previous commit will be added to the diff file list for Klocwork to process by automatically calling "git diff <previous_commit>" during the build. Note: If you are using Git jenkins plugin to obtain source files for you pipeline job be sure to use 'Pipeline script from SCM' and specify the previous commit with the environment variable, 'GIT_PREVIOUS_COMMIT'. Also be aware that the first build in the job won't be able to access GIT_PREVIOUS_COMMIT and the first build will run full CI analysis.

      Manual

      If you are not using Git, or want to manually generate the change list by using Git, select this option. You will need to generate the diff file list by using a custom build-step (or similar). List one changed source file on each line of the file.

      • Type: boolean
    • differentialAnalysisConfig
        Nested Object
      • diffType
        • Type: String
      • gitPreviousCommit
        • Type: String
      • diffFileList
        • Type: String

klocworkIntegrationStep1: Klocwork - Step 2 (Full) - Run Analysis

  • serverConfig
      Nested Object
    • buildSpec
      Build specification to use for analysis. Path is relative to the workspace.
      • Type: String
    • tablesDir
      Specify the location of the tables directory, for example, ${MY_VAR}/kwtables.
      • Type: String
    • incrementalAnalysis
      • Type: boolean
    • ignoreCompileErrors
      Ignore compile errors encountered by kwbuildproject. This setting will not ignore a return code that indicates that kwbuildproject failed to the extent that no results are generated.
      • Type: boolean
    • importConfig
      Optionally, provide configuration files to import to the project before running the analysis. If the checker configuration (for example, analysis_profile.pconf) is under version control, you can provide the file here and it will be automatically imported for each build.
      Specify multiple files by separating them with commas (",").
      • Type: String
    • additionalOpts
      • Type: String
    • disableKwdeploy
      By default, kwdeploy runs before the analysis, to ensure the checkers are up-to-date. Enable this setting if you don't want kwdeploy to run before the analysis.
      • Type: boolean
    • duplicateFrom (optional)
      Optional setting to specify the name of an existing Klocwork project. Klocwork will duplicate that project's configuration settings.
      • Type: String
    • enabledCreateProject (optional)
      Enable to create a new Klocwork project on the server if one does not exist with the name specified. This can be useful when using multi-branch pipeline jobs.
      • Type: boolean

klocworkIntegrationStep2: Klocwork - Step 3 (Full) - Load Analysis Results

  • serverConfig
      Nested Object
    • tablesDir (optional)
      • Type: String
    • buildName (optional)
      Specify the name of the build for the Klocwork server, for example, ${MY_VAR}-${GIT_COMMIT}. If empty, Klocwork uses an auto increment to name the builds.
      • Type: String
    • additionalOpts (optional)
      • Type: String
  • reportConfig (optional)
      Nested Object
    • displayChart (optional)
      • Type: boolean
    • chartHeight (optional)
      • Type: String
    • chartWidth (optional)
      • Type: String
    • query (optional)
      • Type: String

klocworkIssueSync: Klocwork - Post Analysis (Full) - Cross-Project Issue Sync (Optional)

  • syncConfig
      Nested Object
    • dryRun
      Cross synchronisation reads and writes to the Klocwork database. Therefore, we strongly recommend that you first try a Dry Run of the command (which skips the writing) and verify that the command works as expected.
      • Type: boolean
    • lastSync
      Specify the "last synchronisation" date (how far back Klocwork should go when synchronising issue citations).
      Format is "DD-MM-YYYY hh:mm:ss".
      For example, "03-00-0000 00:00:00" will go back 3 days in time.
      • Type: String
    • projectRegexp
      A regular expression that is used to retrieve Klocwork projects that should be processed during synchronisation. If you want to process all projects, leave empty.
      For example, if you prepend projects with "DEPT-" to indicate a particular department the regular expression "^DEPT-" will match all these projects
      • Type: String
    • statusAnalyze
      • Type: boolean
    • statusIgnore
      • Type: boolean
    • statusNotAProblem
      • Type: boolean
    • statusFix
      • Type: boolean
    • statusFixInNextRelease
      • Type: boolean
    • statusFixInLaterRelease
      • Type: boolean
    • statusDefer
      • Type: boolean
    • statusFilter
      • Type: boolean
    • additionalOpts
      Additional options added to the kwxsync command.
      See the Klocwork documentation for more information.
      • Type: String

step([$class: 'KlocworkBuildSpecBuilder']): Klocwork - Step 1 (CI/Full) - Capture Build Information

Integration analysis (Full)

Use the following steps to perform a Klocwork integration analysis and load the results to the Klocwork Server:

Klocwork - Step 1 (CI/Full) - Capture Build Information runs a Klocwork build specification generation tool to capture compilation information about the project Klocwork - Step 2 (Full) - Run Analysis runs the Klocwork Server analysis engine against the data captured within the build specification Klocwork - Step 3 (Full) - Load Analysis Results runs the Klocwork Server load tool, which imports analysis data into the Klocwork Server database

Differential Analysis (CI)

Use the following steps to perform a differential analysis, which does not publish the results to the Klocwork Server and only reports the new issues detected since the previous integration analysis. Differential analysis can be used as a quality measure to reduce new issues being added to the Klocwork Server, and can also be configured to only analyze the changed files from the checkin, making the process much quicker:

Klocwork - Step 1 (CI/Full) - Capture Build Information runs a Klocwork build specification generation tool to capture compilation information about the project Klocwork - Step 2 (CI) - Run Differential Analysis runs an analysis only on the changed files by using the Klocwork command line user tool
  • buildSpecConfig
      Nested Object
    • buildCommand
      Specify your project's build command. This command is used to compile the project and capture information about the build in a build specification file that Klocwork will use for the analysis.
      • Type: String
    • tool
      The Klocwork tool used to generate the build specification, by default this is set to kwinject.
      Tools Available: kwinject monitors your C/C++ build to create a build specification kwmaven creates a Java build specification based on the information in your maven build file kwmavenw creates a Java build specification based on the information in your maven wrapper file kwjsspec creates a Javascript build specification file kwpyspec creates a Python build specification file kwant creates a Java build specification based on the information in your ant build file kwvcprojparser provides an alternative when kwinject cannot be used to create a build specification for a Microsoft Visual Studio 2012 or 2015 C/C++ project; however, it only provides results based on the previous generation (pre-Klocwork 2018) analysis engine kwcsprojparser creates a build specification for Visual Studio C# projects and solutions create tracefile uses kwinject to create a trace file, mainly used for debugging kwgradle creates a Java build specification based on the information in your Gradle build file kwgradlew creates a Java build specification based on the information in your Gradle wrapper file
      • Type: String
    • output
      Specify the build specification output filename and, optionally, its file path. By default, the build specification is written to kwinject.out in the current working directory. The specified file path can be absolute or relative to the workspace directory.
      • Type: String
    • additionalOpts
      Specify other tool options here. Separate the options with whitespace; surround any arguments with whitespace in double quotes.
      • Type: String
    • ignoreErrors
      Ignore any error return codes from this step and continue.
      • Type: boolean

step([$class: 'KlocworkCiBuilder']): Klocwork - Step 2 (CI) - Run Differential Analysis

  • ciConfig
      Nested Object
    • buildSpec
      Build specification to use for analysis. Path is relative to the workspace
      • Type: String
    • projectDir
      • Type: String
    • cleanupProject
      • Type: boolean
    • reportFile
      XML report file in which to store Klocwork results. Optional, in case you want to use the XML report for something custom; otherwise, a default file is created for the post-build step.
      • Type: String
    • additionalOpts
      Additional options added to the kwciagent run command. For example, specify the number of jobs/threads to use (--jobs-num) or which filters to apply (--severity --taxonomy --system)
      See the Klocwork documentation for more information.
      • Type: String
    • incrementalAnalysis

      Analyze changed files only

      This feature allows for quick, incremental analyses of changed source files to enable pre/post-checkin/commit-like behavior . The goal is that only changed files are analyzed by the Klocwork kwciagent tool to replicate the local analysis developers would perform by using our supported IDE plugins or the command line utility. To enable this behavior, the plugin takes a list of the changed files from the SCM; this enables the system to analyze only the changed files when the workspace isn’t kept. Leave this cleared to analyze the whole project, or, if the workspace is kept, to perform a standard incremental analysis.

      Diff file list

      The diff file list is the file that contains the changed source files for Klocwork to analyze. All analyzed files must exist in the build specification generated by kwinject.

      Note: All files to be analyzed must exist in the build specification.

      Using Git

      If using Git, provide the previous commit that Git should perform a "diff" against. The change list between the current commit and the specified previous commit will be added to the diff file list for Klocwork to process by automatically calling "git diff <previous_commit>" during the build. Note: If you are using Git jenkins plugin to obtain source files for you pipeline job be sure to use 'Pipeline script from SCM' and specify the previous commit with the environment variable, 'GIT_PREVIOUS_COMMIT'. Also be aware that the first build in the job won't be able to access GIT_PREVIOUS_COMMIT and the first build will run full CI analysis.

      Manual

      If you are not using Git, or want to manually generate the change list by using Git, select this option. You will need to generate the diff file list by using a custom build-step (or similar). List one changed source file on each line of the file.

      • Type: boolean
    • differentialAnalysisConfig
        Nested Object
      • diffType
        • Type: String
      • gitPreviousCommit
        • Type: String
      • diffFileList
        • Type: String

step([$class: 'KlocworkFailureConditionPublisher']): Klocwork - Post Analysis (Full/CI) - Build Failure Conditions (Optional)

  • failureConditionConfig
      Nested Object
    • enableServerFailureCondition (optional)

      Full integration analysis build failure conditions (Full)

      Create multiple build failure conditions by using queries that are sent to the Klocwork Server through the Web API.

      Filter issues based on the search query, then provide the status to set the build to, along with the threshold (the number of issues to meet this criteria).

      Note: unless specified, the query runs with issue grouping turned off (grouping:off).

      • Type: boolean
    • failureConditionServerConfigs (optional)
        Array / List of Nested Object
      • jobResult
        • Type: String
      • query
        • Type: String
      • threshold
        • Type: String
      • conditionName
        • Type: String
      • stopBuild
        • Type: boolean
      • enableHTMLReporting
        • Type: boolean
    • enableCiFailureCondition (optional)

      Differential analysis build failure conditions (CI)

      Set a threshold for the differential analysis build failure conditions. Pass the build if the threshold is not exceeded; fail otherwise.

      This step checks the XML report generated by the differential analysis build step. You can filter which issues appear in this report by providing additional options to the differential analysis build step.

      This step counts the total number of issues in the XML report.

      • Type: boolean
    • enableDesktopFailureCondition (optional)
      • Type: boolean
    • failureConditionCiConfig (optional)
        Nested Object
      • withDiffList
        • Type: boolean
      • diffFileList
        • Type: String
      • threshold (optional)
        • Type: String
      • reportFile (optional)
        • Type: String
      • enableHTMLReporting (optional)
        • Type: boolean
      • enabledSeverites (optional)
          Nested Object
        • critical
          • Type: boolean
        • error
          • Type: boolean
        • warning
          • Type: boolean
        • review
          • Type: boolean
        • fiveToTen
          • Type: boolean
      • enabledStatuses (optional)
          Nested Object
        • analyze
          • Type: boolean
        • ignore
          • Type: boolean
        • notAProblem
          • Type: boolean
        • fix
          • Type: boolean
        • fixInNextRelease
          • Type: boolean
        • fixInLaterRelease
          • Type: boolean
        • defer
          • Type: boolean
        • filter
          • Type: boolean
      • failUnstable (optional)
        • Type: boolean
      • name (optional)
        • Type: String
      • stopBuild (optional)
        • Type: boolean
    • failureConditionCiConfigs (optional)
        Array / List of Nested Object
      • withDiffList
        • Type: boolean
      • diffFileList
        • Type: String
      • threshold (optional)
        • Type: String
      • reportFile (optional)
        • Type: String
      • enableHTMLReporting (optional)
        • Type: boolean
      • enabledSeverites (optional)
          Nested Object
        • critical
          • Type: boolean
        • error
          • Type: boolean
        • warning
          • Type: boolean
        • review
          • Type: boolean
        • fiveToTen
          • Type: boolean
      • enabledStatuses (optional)
          Nested Object
        • analyze
          • Type: boolean
        • ignore
          • Type: boolean
        • notAProblem
          • Type: boolean
        • fix
          • Type: boolean
        • fixInNextRelease
          • Type: boolean
        • fixInLaterRelease
          • Type: boolean
        • defer
          • Type: boolean
        • filter
          • Type: boolean
      • failUnstable (optional)
        • Type: boolean
      • name (optional)
        • Type: String
      • stopBuild (optional)
        • Type: boolean
    • failureConditionDesktopConfig (optional)
        Nested Object
      • withDiffList
        • Type: boolean
      • diffFileList
        • Type: String
      • threshold (optional)
        • Type: String
      • reportFile (optional)
        • Type: String
      • enableHTMLReporting (optional)
        • Type: boolean
      • enabledSeverites (optional)
          Nested Object
        • critical
          • Type: boolean
        • error
          • Type: boolean
        • warning
          • Type: boolean
        • review
          • Type: boolean
        • fiveToTen
          • Type: boolean
      • enabledStatuses (optional)
          Nested Object
        • analyze
          • Type: boolean
        • ignore
          • Type: boolean
        • notAProblem
          • Type: boolean
        • fix
          • Type: boolean
        • fixInNextRelease
          • Type: boolean
        • fixInLaterRelease
          • Type: boolean
        • defer
          • Type: boolean
        • filter
          • Type: boolean
      • failUnstable (optional)
        • Type: boolean
      • name (optional)
        • Type: String
      • stopBuild (optional)
        • Type: boolean

step([$class: 'KlocworkServerAnalysisBuilder']): Klocwork - Step 2 (Full) - Run Analysis

  • serverConfig
      Nested Object
    • buildSpec
      Build specification to use for analysis. Path is relative to the workspace.
      • Type: String
    • tablesDir
      Specify the location of the tables directory, for example, ${MY_VAR}/kwtables.
      • Type: String
    • incrementalAnalysis
      • Type: boolean
    • ignoreCompileErrors
      Ignore compile errors encountered by kwbuildproject. This setting will not ignore a return code that indicates that kwbuildproject failed to the extent that no results are generated.
      • Type: boolean
    • importConfig
      Optionally, provide configuration files to import to the project before running the analysis. If the checker configuration (for example, analysis_profile.pconf) is under version control, you can provide the file here and it will be automatically imported for each build.
      Specify multiple files by separating them with commas (",").
      • Type: String
    • additionalOpts
      • Type: String
    • disableKwdeploy
      By default, kwdeploy runs before the analysis, to ensure the checkers are up-to-date. Enable this setting if you don't want kwdeploy to run before the analysis.
      • Type: boolean
    • duplicateFrom (optional)
      Optional setting to specify the name of an existing Klocwork project. Klocwork will duplicate that project's configuration settings.
      • Type: String
    • enabledCreateProject (optional)
      Enable to create a new Klocwork project on the server if one does not exist with the name specified. This can be useful when using multi-branch pipeline jobs.
      • Type: boolean

step([$class: 'KlocworkServerLoadBuilder']): Klocwork - Step 3 (Full) - Load Analysis Results

  • serverConfig (optional)
      Nested Object
    • tablesDir (optional)
      • Type: String
    • buildName (optional)
      Specify the name of the build for the Klocwork server, for example, ${MY_VAR}-${GIT_COMMIT}. If empty, Klocwork uses an auto increment to name the builds.
      • Type: String
    • additionalOpts (optional)
      • Type: String
  • reportConfig (optional)
      Nested Object
    • displayChart (optional)
      • Type: boolean
    • chartHeight (optional)
      • Type: String
    • chartWidth (optional)
      • Type: String
    • query (optional)
      • Type: String

step([$class: 'KlocworkXSyncBuilder']): Klocwork - Post Analysis (Full) - Cross-Project Issue Sync (Optional)

  • syncConfig
      Nested Object
    • dryRun
      Cross synchronisation reads and writes to the Klocwork database. Therefore, we strongly recommend that you first try a Dry Run of the command (which skips the writing) and verify that the command works as expected.
      • Type: boolean
    • lastSync
      Specify the "last synchronisation" date (how far back Klocwork should go when synchronising issue citations).
      Format is "DD-MM-YYYY hh:mm:ss".
      For example, "03-00-0000 00:00:00" will go back 3 days in time.
      • Type: String
    • projectRegexp
      A regular expression that is used to retrieve Klocwork projects that should be processed during synchronisation. If you want to process all projects, leave empty.
      For example, if you prepend projects with "DEPT-" to indicate a particular department the regular expression "^DEPT-" will match all these projects
      • Type: String
    • statusAnalyze
      • Type: boolean
    • statusIgnore
      • Type: boolean
    • statusNotAProblem
      • Type: boolean
    • statusFix
      • Type: boolean
    • statusFixInNextRelease
      • Type: boolean
    • statusFixInLaterRelease
      • Type: boolean
    • statusDefer
      • Type: boolean
    • statusFilter
      • Type: boolean
    • additionalOpts
      Additional options added to the kwxsync command.
      See the Klocwork documentation for more information.
      • Type: String

klocworkWrapper: Klocwork - Build Environment Settings

  • serverConfig
    Create server configurations on the Configure System page.
    • Type: String
  • installConfig
    You can create install configurations on the Configure System page. When used, the system updates the build environment's PATH variable to include the Klocwork installation PATH provided by the selected configuration.
    • Type: String
  • serverProject
    The Klocwork Server project to run a server build against or to connect to for CI analysis.
    • Type: String
  • ltoken
    Optionally, specify a custom ltoken location. The Klocwork ltoken is used to authenticate with the Klocwork Server. The default ltoken location is in the .klocwork directory which is located in the home directory of the user running the process, for example: C:\Users\user_name\.klocwork\ltoken. See the Klocwork documentation for more information.
    • Type: String

Was this page helpful?

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.