提交 667c9b96 编写于 作者: C Christoph Kutzinski

Javadoc was quite confusing as the build is actually a FAILURE if tearDown...

Javadoc was quite confusing as the build is actually a FAILURE if tearDown returns false and not ABORTED
上级 df710f47
......@@ -87,9 +87,9 @@ public abstract class Environment {
* The same {@link BuildListener} object given to the set up
* method.
* @return true if the build can continue, false if there was an error and
* the build needs to be aborted.
* the build needs to be aborted (i.e. {@link Result#FAILURE})
* @throws IOException
* terminates the build abnormally. Hudson will handle the
* terminates the build abnormally. Jenkins will handle the
* exception and reports a nice error message.
*/
public boolean tearDown(AbstractBuild build, BuildListener listener)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册