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

Replace magic numbers with constants

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Configuring a Multibranch pipeline job with DSL I have found that the strategies are defined as magic numbers in a few classes and are not documented, this makes me have to go to code to know which strategies have each Id. Al so is really error-prone to use magic numbers. Because of that, I will make a PR to fix it.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              ifernandezcalvo Ivan Fernandez Calvo
              Reporter:
              ifernandezcalvo Ivan Fernandez Calvo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: