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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.