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

set-build-result and set-build-parameter do insufficient checks

XMLWordPrintable

      Formally filing some issues which were previously noted parenthetically in JENKINS-22472:

      SetBuildResultCommand checks Item.BUILD; I would have expected Run.UPDATE. And SetBuildParameterCommand does no check at all.

      getCurrentlyBuilding does not even check Run.isBuilding, so this could even be used to mangle a completed build's state, such as parameters via SetBuildParameterCommand. (SetBuildResultCommand would not work on a finished build because of checks inside Run.setResult.)

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: