Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42269

Cyclomatic complexity > 4 when using Conditional BuildStep Plugin

    XMLWordPrintable

Details

    Description

      When using the plugin https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin with several conditionals it might be hard to debug and test all those cases, so it's worth splitting the logic and refactor a bit by using another approach
      Severity: low

      Further details under:

      Attachments

        Activity

          v2v Victor Martinez created issue -
          v2v Victor Martinez made changes -
          Field Original Value New Value
          Description When the plugin knowledge database is installed is a good practise to force the analyser and therefore share build defects and detect them proactively and in case we don't want to use it then explain the reason in the job description by using the control comment
          Severity: Low
          When using the plugin https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin with several conditionals it might be hard to debug and test all those cases, so it's worth splitting the logic and refactor a bit by using another approach
          Severity: low
          v2v Victor Martinez made changes -
          Labels 0.7.0 0.8.0
          v2v Victor Martinez made changes -
          Description When using the plugin https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin with several conditionals it might be hard to debug and test all those cases, so it's worth splitting the logic and refactor a bit by using another approach
          Severity: low
          When using the plugin https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin with several conditionals it might be hard to debug and test all those cases, so it's worth splitting the logic and refactor a bit by using another approach
          Severity: low

          Further details under:
          - https://www.cloudbees.com/sites/default/files/2016-jenkins-world-enforcing_jenkins_best_practices.pdf
          v2v Victor Martinez made changes -
          Labels 0.8.0 0.9.0
          v2v Victor Martinez made changes -
          Labels 0.9.0 0.11.0

          People

            v2v Victor Martinez
            v2v Victor Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: