PricingDownload
Product

Platform

All features44 capabilities, from IDE to CICompliance KitsISO 26262, DO-178C, IEC 62304...AI GovernanceControl AI-generated C/C++ codeWhat’s new in 2027Latest version highlightsScreenshotsSee the product in action

Analyze & improve

Coding standardsMISRA, CERT, CWE, AUTOSARArchitecture & dependenciesGraphs, matrix, cyclesTechnical debtMeasured in hours and dollarsQuality gatesStop regressions in CISmart Code CityYour codebase in 3D

Integrations

IDE pluginsVisual Studio, VS Code, CLion...CI/CD pipelinesJenkins, Azure DevOps, GitHub, GitLabSonarQube pluginC/C++ results in SonarQubeExternal analyzersClang-Tidy, Cppcheck, coverageFeature on Demand
Solutions

By need

Functional safetyCompliance kits per standardCoding standardsMISRA, CERT, AUTOSAR, ISO...Legacy modernizationRefactor large C/C++ safelyCode auditExpert review of your codebaseM&A due diligenceAssess technical health fast

By role

DevelopersSoftware architectsTech leadsDevOps engineersEngineering managersProject managers

CTOsCIOs / IT leadersQA engineersSecurity leadersComplianceConsultantsRequest a guided PoC
Industries

Safety-critical

AutomotiveISO 26262, MISRA, AUTOSARAerospace & DefenseDO-178C programsMedical DevicesIEC 62304 softwareEnergy & UtilitiesIEC 61508 systemsEmbedded SystemsFirmware and devices

Enterprise

Financial ServicesTrading and paymentsGame DevelopmentEngines and large C++Software VendorsCommercial C/C++ productsGovernmentAgencies and contractorsAll industries & case studies
Resources

Learn

DocumentationGuides, rules and CI setupKnowledge baseFrequently asked questionsBlogC and C++ code quality articlesRelease notesEvery version since 2009

Customers

Case studiesSuccess storiesTestimonialsWhat users sayOur customersCompanies using CppDependGold Code QualityOpen source projects we rate

Programs & company

Feature on DemandMissing features built for freeFree for open sourceLicenses for OSS and studentsContact usSales and supportEULALicense agreement
Docs
Documentation

CI/CD Integration

Hudson Integration

2 min readCI/CD IntegrationCppDepend 2027

Boosting Development Efficiency with CppDepend and Hudson Integration

Installing CppDepend on the build server

To be able to run CppDepend analysis during a build on a Hudson server you need to install CppDepend on the server which hosts the Hudson agent that will run the CppDepend analysis. Just unzip CppDepend in a folder that the Hudson agent can use. In our example we will use "C:\Program Files\_Tools\Development\cppdepend".

Configuring Hudson

  • First step: Create a CppDepend project (.cdproj)
  • Once you have your CppDepend project you must execute a windows batch command to generate CppDependOut directory which contains CppDepend report files:
  • Go to Hudson Dashboard
  • Click on your Hudson job
  • Click on "Configure option" for your Hudson job
  • In the build portion add a build step ("execute windows batch command")
  • Specify the execution command (path of CppDepend console and the path of your CppDepend Project (.cdproj))
hudson job

Setting up the CppDepend Report in the Hudson Dashboard

To publish the CppDepend HTML report you must install HTML publisher plugin:

  • Go to Hudson Dashboard
  • Click on "Manage Hudson"
  • On the Plugin Manager page, go to the "Available" tab next to Updates tab and click on recommended.
  • In the build report tabs click on "Create new build report tab"
  • Look for the html publisher plugin, enable the checkbox and click install. Just Wait for the "Success" Status.
  • Restart Hudson by clicking on the provided link on the success page. if you are using Tomcat, execute /bin/shutdown.sh and /bin/startup.sh

Html Publisher plugin is useful to publish the html reports that your build generates to the job and build pages. Below are the steps to publish and archive the HTML report files:

  • Click on the Configure option for your Hudson job
  • In the post build portion, look for the Publish HTML Reports option and enable the checkbox.
  • Fill the path to the out directory of CppDepend containing the html report in the "HTML directory to archive" field. Specify the pages to display (default CppDependReport.html); you can specify multiple comma-separated pages and each will be a tab on the report page. Finally, give a name in the Report Title field, which will be used to provide a link to the report. By default, only the most recent HTML report will be saved, but if you'd like to be able to view HTML reports for each past build, select "Keep past HTML reports."
publisher plugin

Save the configuration, and run build once. The published HTML reports are available to view from within Hudson with convenient links in the dashboard.

Was this page helpful?
Evaluating CppDepend on a production codebase?Get a guided proof of concept with our static analysis architects.
Request a PoC