Authored by zhengyouwei

xiu gai force

... ... @@ -23,7 +23,7 @@ public class BuildRequest implements Serializable {
private String host;
private boolean isForce;
private String isForce;
public String getTag() {
return tag;
... ... @@ -97,11 +97,11 @@ public class BuildRequest implements Serializable {
this.host = host;
}
public boolean isForce() {
public String getIsForce() {
return isForce;
}
public void setIsForce(boolean isForce) {
public void setIsForce(String isForce) {
this.isForce = isForce;
}
}
... ...
... ... @@ -84,7 +84,7 @@ public class NodeBuildCtrl {
buildRequest.setRollbackfile(rollbackfile_name);
buildRequest.setOperate(operate_name);
buildRequest.setHost(hosts_name);
buildRequest.setIsForce(force_name);
buildRequest.setIsForce(String.valueOf(force_name));
String messageids = "";
buildRequest.setProject(project_name);
BuildMessage buildMessage = httpRestClient.post(URL + "build", buildRequest, BuildMessage.class);
... ...