Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 7602cf39898d5698b59a91059477b84552f8a0b1
      
https://github.com/jenkinsci/jenkins/commit/7602cf39898d5698b59a91059477b84552f8a0b1
  Author: Tim Van Holder <[email protected]>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M core/src/main/java/hudson/console/ConsoleLogFilter.java
    M core/src/main/java/hudson/tasks/BuildWrapper.java

  Log Message:
  -----------
  Fix error message (#4940)

* Fix error message

* Fix English-o

Co-authored-by: Daniel Beck <[email protected]>

* Use AbstractMethodError

For both ConsoleLogFilter and BuildWrapper, to better describe what the
problem is.

* Document the exception

* Adjust the error handling for BuildWrapper.setUp

This adds an override check to the deprecated overload, moving the
AbstractMethodError there to match.
The error in the new API is now an UnsupportedOperationException
because it's a case of an old plugin (supporting only Build) being
called for a non-Build build (e.g. MavenBuild).

* Correct class name

Co-authored-by: Daniel Beck <[email protected]>


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/97c9a1-7602cf%40github.com.

Reply via email to