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.

CodeScene Plugin

codescene: Run CodeScene Delta Analysis

  • credentialsId : String
    Select username/password credentials defined in Jenkins configuration. This is a safe way to use credentials in Jenkins plugin. See Injecting Secrets into Jenkins Build Jobs for more details.
  • deltaAnalysisUrl : String
  • repository : String
  • analyzeBranchDiff : boolean (optional)
  • analyzeLatestIndividually : boolean (optional)
    Commits not seen in previous successful builds will be used for separate delta analyses.
  • baseRevision : String (optional)
  • couplingThresholdPercent : int (optional)
  • failOnDecliningCodeHealth : boolean (optional)
    Check this option to mark the build as unstable if the Code Health of a hotspot declines.
  • failOnFailedGoal : boolean (optional)
    Check this option to mark the build as unstable if a goal -- as defined by CodeScene's Intelligent Notes -- is violated. This could be a supervised hotspot that suddenly declines in Code Health, or a module indicated as No Problem that starts to accumulate complex code, etc.
  • letBuildPassOnFailedAnalysis : boolean (optional)
    By default we fail the build if CodeScene couldn't run an analysis (e.g. couldn't update the repository). This behaviour can be overridden here.
  • markBuildAsUnstable : boolean (optional)
  • originUrl : String (optional)
  • riskThreshold : int (optional)

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.