Download raw license-scanning artifact
The wget
command appears to be downloading an HTML file then attempting to upload that as a license scanning report which should be a JSON file.
モ curl -s https://gitlab.com/gitlab-org/security-products/license-management/-/blob/ma
ster/spec/fixtures/expected/c/conan/v2.1.json | head -n5
<!DOCTYPE html>
<html class="" lang="en">
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<link href="https://assets.gitlab-static.net" rel="dns-prefetch">
It's subtle but the URL that I think we want to use is:
Instead of:
Introduced in: !43 (diffs)
I hope that this helps solve the mystery.
Edited by mo khan