I trying to generate code reports from CI , however, I used the code from
and it does not working
def cmd = """curl --proxy 'http://localhost:29418' --request PUT
'http://api.bitbucket.org/2.0/repositories/$BITBUCKET_REPO_OWNER/$BITBUCKET_REPO_SLUG/commit/$BITBUCKET_COMMIT/reports/mySystem-001/annotations/mySystem-annotation001'
\\ --header 'Content-Type: application/json'
\\ --data-raw '{ "title": "Security scan report"}'
"""