提交 5541c42e 编写于 作者: K Kohsuke Kawaguchi

Needs mailer 1.4 to avoid cyclic dependencies

上级 bac06e2a
package jenkins.model;
import hudson.Extension;
import hudson.Util;
import hudson.XmlFile;
import net.sf.json.JSONObject;
import org.kohsuke.stapler.StaplerRequest;
......@@ -66,11 +67,14 @@ public class JenkinsLocationConfiguration extends GlobalConfiguration {
}
public String getUrl() {
return hudsonUrl;
return jenkinsUrl;
}
public void setUrl(String hudsonUrl) {
this.hudsonUrl = hudsonUrl;
String url = Util.nullify(hudsonUrl);
if(url!=null && !url.endsWith("/"))
url += '/';
this.jenkinsUrl = url;
save();
}
......
......@@ -79,7 +79,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>mailer</artifactId>
<version>1.2</version>
<version>1.4-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
......
......@@ -319,7 +319,7 @@ THE SOFTWARE.
<artifactItem>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>mailer</artifactId>
<version>1.3</version>
<version>1.4-SNAPSHOT</version>
<type>hpi</type>
</artifactItem>
</artifactItems>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册