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
    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.
    • Type: String
  • deltaAnalysisUrl
    • Type: String
  • repository
    • Type: String
  • analyzeBranchDiff (optional)
    • Type: boolean
  • analyzeLatestIndividually (optional)
    Commits not seen in previous successful builds will be used for separate delta analyses.
    • Type: boolean
  • baseRevision (optional)
    • Type: String
  • couplingThresholdPercent (optional)
    • Type: int
  • failOnDecliningCodeHealth (optional)
    Check this option to mark the build as unstable if the Code Health of a hotspot declines.
    • Type: boolean
  • failOnFailedGoal (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.
    • Type: boolean
  • letBuildPassOnFailedAnalysis (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.
    • Type: boolean
  • markBuildAsUnstable (optional)
    • Type: boolean
  • originUrl (optional)
    • Type: String
  • riskThreshold (optional)
    • Type: int

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.