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"}'
"""
What errors are you getting? What are you expecting this to do and what are you getting from it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.