Skip to content

Commit

Permalink
CDS SDK Auto Released By shuwei.hsw,Version:1.8.1
Browse files Browse the repository at this point in the history
发布日志:
1, add skipTagLatest in CreateJob API.
2, add get NextBuildNumber in GetJob API.
3, add get build status in GetBuild API.
  • Loading branch information
Qingtang-SDK committed Jun 26, 2018
1 parent 22eac6d commit 33a7051
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 2 deletions.
5 changes: 5 additions & 0 deletions aliyun-java-sdk-cds/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2018-06-26 Version: 1.8.1
1, add skipTagLatest in CreateJob API.
2, add get NextBuildNumber in GetJob API.
3, add get build status in GetBuild API.

2018-06-21 Version: 1.8.0
1, add createJob updateJob API.
2, add create delete update credential API.
Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-cds/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-cds</artifactId>
<packaging>jar</packaging>
<version>1.8.0</version>
<version>1.8.1</version>
<name>aliyun-java-sdk-cds</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public class GetBuildResponse extends AcsResponse {

private String requestId;

private String buildStatus;

public String getBuildEnv() {
return this.buildEnv;
}
Expand Down Expand Up @@ -84,6 +86,14 @@ public void setRequestId(String requestId) {
this.requestId = requestId;
}

public String getBuildStatus() {
return this.buildStatus;
}

public void setBuildStatus(String buildStatus) {
this.buildStatus = buildStatus;
}

@Override
public GetBuildResponse getInstance(UnmarshallerContext context) {
return GetBuildResponseUnmarshaller.unmarshall(this, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public class GetJobResponse extends AcsResponse {

private String requestId;

private Integer nextBuildNumber;

private LastSuccessfulBuild lastSuccessfulBuild;

private LastFailedBuild lastFailedBuild;
Expand Down Expand Up @@ -68,6 +70,14 @@ public void setRequestId(String requestId) {
this.requestId = requestId;
}

public Integer getNextBuildNumber() {
return this.nextBuildNumber;
}

public void setNextBuildNumber(Integer nextBuildNumber) {
this.nextBuildNumber = nextBuildNumber;
}

public LastSuccessfulBuild getLastSuccessfulBuild() {
return this.lastSuccessfulBuild;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ public static GetBuildResponse unmarshall(GetBuildResponse getBuildResponse, Unm
getBuildResponse.setBuildNumber(context.integerValue("GetBuildResponse.BuildNumber"));
getBuildResponse.setDuration(context.integerValue("GetBuildResponse.Duration"));
getBuildResponse.setLog(context.stringValue("GetBuildResponse.Log"));
getBuildResponse.setStartTime(context.longValue("GetBuildResponse.StartTime"));
getBuildResponse.setStartTime(context.longValue("GetBuildResponse.StartTime"));
getBuildResponse.setBuildStatus(context.stringValue("GetBuildResponse.BuildStatus"));

return getBuildResponse;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public static GetJobResponse unmarshall(GetJobResponse getJobResponse, Unmarshal
getJobResponse.setJobName(context.stringValue("GetJobResponse.JobName"));
getJobResponse.setSuccessRate(context.floatValue("GetJobResponse.SuccessRate"));
getJobResponse.setTotalBuilds(context.integerValue("GetJobResponse.TotalBuilds"));
getJobResponse.setNextBuildNumber(context.integerValue("GetJobResponse.NextBuildNumber"));

LastSuccessfulBuild lastSuccessfulBuild = new LastSuccessfulBuild();
lastSuccessfulBuild.setBuildEnv(context.stringValue("GetJobResponse.LastSuccessfulBuild.BuildEnv"));
Expand Down

0 comments on commit 33a7051

Please sign in to comment.