Skip to content

Commit

Permalink
Use JSONObject for get date and version
Browse files Browse the repository at this point in the history
  • Loading branch information
charleston10 authored and nicholasdille committed Aug 26, 2019
1 parent 399aeca commit 4ff826e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Result execute() throws Exception {
// log(" Requesting project's quality gate anonymously.");
// }

// get quality gate details
//get quality gate details
JSONObject result = sonarClient.getProjectWithQualityGateDetails(sonarProjectKey);
JSONObject project = (JSONObject) result.get("projectStatus");
JSONArray periods = (JSONArray) project.get("periods");
Expand Down

0 comments on commit 4ff826e

Please sign in to comment.