提交 578b60a4 编写于 作者: K kohsuke

fixed #540 "I am not able to build with maven2 module due to NPE"


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3334 71c3de6d-444a-0410-be80-ed276b4c234a
上级 150ec4cb
......@@ -90,7 +90,7 @@ final class PomInfo implements Serializable {
dependencies.remove(name);
CiManagement ciMgmt = project.getCiManagement();
if ((ciMgmt != null) && (ciMgmt.getSystem().equals("hudson"))) {
if ((ciMgmt != null) && (ciMgmt.getSystem()==null || ciMgmt.getSystem().equals("hudson"))) {
Notifier mailNotifier = null;
for (Notifier n : (List<Notifier>)ciMgmt.getNotifiers()) {
if (n.getType().equals("mail")) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册