提交 753d6253 编写于 作者: I imod

update documentation

上级 4b2e23b1
......@@ -61,6 +61,9 @@ Upcoming changes</a>
<li class='rfe'>
Added hyperlinks to console output
(<a href="https://github.com/jenkinsci/jenkins/pull/334">pull #334</a>)
<li class='rfe'>
Add option to disable mailnotifications for each failed maven module.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-5695">issue 5695</a>)
</ul>
</div><!--=TRUNK-END=-->
......@@ -77,9 +80,6 @@ Upcoming changes</a>
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-11204">issue 11204</a>)
<li class=rfe>
Update center UI improvement. "Install" button is now always visisble.
<li class=rfe>
Add option to disable mailnotification for each failed maven module.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-5695">issue 5695</a>)
<li class=bug>
Fixed a bug where a large output from Maven can cause module log output to go out of sync with module build log files.
<li class=bug>
......
/*
* The MIT License
*
* Copyright (c) 2011, Dominik Bartholdi
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package hudson.maven.reporters;
import hudson.maven.MavenModuleSet;
......@@ -15,11 +38,17 @@ import org.jvnet.hudson.test.ExtractResourceSCM;
import org.jvnet.hudson.test.HudsonTestCase;
import org.jvnet.mock_javamail.Mailbox;
/**
*
* @author imod (Dominik Bartholdi)
*
*/
public class MavenMailerTest extends HudsonTestCase {
@Bug(5695)
public void testMulipleMails() throws Exception {
// there is one module failing in the build, therefore we expect one mail for the failed module and one for the over all build status
final Mailbox inbox = runMailTest(true);
assertEquals(2, inbox.size());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册