mirror of
https://github.com/Fishwaldo/rundeck-api-java-client.git
synced 2025-07-06 13:08:38 +00:00
Trigger job handles buggy api v11 response
This commit is contained in:
parent
bceb1ec4c6
commit
39fd86ae6d
1 changed files with 10 additions and 1 deletions
|
@ -1085,7 +1085,16 @@ public class RundeckClient implements Serializable {
|
|||
if(null!=jobRun.getAsUser()) {
|
||||
apiPath.param("asUser", jobRun.getAsUser());
|
||||
}
|
||||
return new ApiCall(this).get(apiPath, new ExecutionParser(rootXpath()+"/executions/execution"));
|
||||
return new ApiCall(this).get(apiPath,
|
||||
APIV11Helper.unwrapIfNeeded(
|
||||
new ExecutionParser(
|
||||
rootXpath() +
|
||||
"/executions/execution"
|
||||
), rootXpath() +
|
||||
"/executions/execution"
|
||||
)
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue