Skip to content

Download raw license-scanning artifact

mo khan requested to merge fix-url into master

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:

https://gitlab.com/gitlab-org/security-products/license-management/-/raw/master/spec/fixtures/expected/c/conan/v2.1.json

Instead of:

https://gitlab.com/gitlab-org/security-products/license-management/-/blob/master/spec/fixtures/expected/c/conan/v2.1.json

Introduced in: !43 (diffs)

I hope that this helps solve the mystery.

Closes gitlab-org/gitlab#235502 (closed)

Edited by mo khan

Merge request reports