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

Replace magic numbers with constants

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: