danger executions fail, after upgrate bitbucket server to version 8.9.0
What did you do?
We are running whitout any issue in our jenkins server with bitbucket server version 7. After the upgrade of the bitbucket server to version 8.9, the danger stage in ours pipelines stop working
ℹ we run this command
DEBUG=* danger-swift ci --cwd ../
What did you expect to happen?
We are expecting that the command execution happen successfully and comment the PR associated
ℹ Please replace this with what you expected to happen.
Running your Dangerfile without it crashing.
What happened instead?
The execution fail with a error parse the bitbucket server informations of the PR
ℹ The error returning is this:
Decoding the DSL into Swift types
ERROR: Failed to parse JSON: keyNotFound(CodingKeys(stringValue: "tasks", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "danger", intValue: nil), CodingKeys(stringValue: "bitbucket_server", intValue: nil), CodingKeys(stringValue: "comments", intValue: nil), _JSONKey(stringValue: "Index 6", intValue: 6), CodingKeys(stringValue: "comment", intValue: nil), CodingKeys(stringValue: "comments", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"tasks\", intValue: nil) (\"tasks\").", underlyingError: nil))
Report
danger executions fail, after upgrate bitbucket server to version 8.9.0
What did you do?
We are running whitout any issue in our jenkins server with bitbucket server version 7. After the upgrade of the bitbucket server to version 8.9, the danger stage in ours pipelines stop working
ℹ we run this command
DEBUG=* danger-swift ci --cwd ../
What did you expect to happen?
We are expecting that the command execution happen successfully and comment the PR associated
ℹ Please replace this with what you expected to happen. Running your Dangerfile without it crashing.
What happened instead?
The execution fail with a error parse the bitbucket server informations of the PR
ℹ The error returning is this:
Your Environment