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

Build step returns null if propagate set to true

XMLWordPrintable

      When running a build from another job and setting the propagate property to true, if the downstream job fails, the returned value is null.

      For example, if I want to copy the artifacts and I use returnValue.getNumber(), I get the error message:
      java.lang.NullPointerException: Cannot invoke method getNumber() on null object

            Unassigned Unassigned
            gils Gil Shinar
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: