You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've built an image docker-registry.acmegroup.co.uk/ink-developpement/images-docker/securite/fossa/fossa:1.0.0 with fossa inside.
When I run this command on my dev environment, fossa does the test after the analyze.
cd "${CI_PROJECT_DIR}" ; FOSSA_API_KEY=$FOSSA_API_KEY fossa ; sleep 60 ; FOSSA_API_KEY=$FOSSA_API_KEY fossa test
Note ${CI_PROJECT_DIR} contains the project directory
Yet I'm trying to run the fossa test through a gitlab ci, it gives me the following error
$ cd "${CI_PROJECT_DIR}" ; FOSSA_API_KEY=$FOSSA_API_KEY fossa ; sleep 60 ; FOSSA_API_KEY=$FOSSA_API_KEY fossa test
INFO Initializing...
INFO Analyzing module (1/2): .
WARNING Could not find Node.JS: could not resolve command
WARNING Could not find NPM: could not resolve command
WARNING Could not determine deps from node_modules
WARNING Could not determine deps from yarn lockfile
INFO Analyzing module (2/2): .
WARNING Could not find Node.JS: could not resolve command
WARNING Could not find NPM: could not resolve command
WARNING Could not determine deps from node_modules
WARNING Could not determine deps from yarn lockfile
INFO Uploading analysis...
============================================================
View FOSSA Report:
https://app.fossa.com/projects/custom+51[36](https://sources.acmegroup.co.uk/experimentations/poec/projet_npm/-/jobs/393115#L36)6%2Fsources.acmegroup.co.uk%2Fexperimentations%2Fpoec%2Fprojet_npm/refs/branch/HEAD/f498dbef3d0556da8d3f0bb784bab9c1ffe85f9f
============================================================
INFO Waiting for analysis to complete...
INFO Project status is . Waiting for FOSSA scan results...
ERROR: Could not test revision: Could not load build:: unknown task status while waiting for FOSSA to analyze build:
Cleaning up project directory and file based variables
00:48
ERROR: Job failed: exit code 1
This is my yaml
licence_check:
stage: licence_checkimage: docker-registry.acmegroup.co.uk/ink-developpement/images-docker/securite/fossa/fossa:1.0.0tags:
- ovh_vm_docker_tfbuildscript:
- cd "${CI_PROJECT_DIR}" ; FOSSA_API_KEY=$FOSSA_API_KEY fossa ; sleep 60 ; FOSSA_API_KEY=$FOSSA_API_KEY fossa test
Note : When I'm running on the gitlab ci the fossa without the test, it works correctly (cd "${CI_PROJECT_DIR}" ; FOSSA_API_KEY=$FOSSA_API_KEY fossa)
Any ideas?
The text was updated successfully, but these errors were encountered:
Thank you @kw-andy for creating this issue. If this is in regards to a defect, product question or feature request: you should use our support portal at https://support.fossa.com to file a request, as you would receive more immediate support.
The context:
I've built an image
docker-registry.acmegroup.co.uk/ink-developpement/images-docker/securite/fossa/fossa:1.0.0
with fossa inside.When I run this command on my dev environment, fossa does the test after the analyze.
cd "${CI_PROJECT_DIR}" ; FOSSA_API_KEY=$FOSSA_API_KEY fossa ; sleep 60 ; FOSSA_API_KEY=$FOSSA_API_KEY fossa test
Note
${CI_PROJECT_DIR}
contains the project directoryYet I'm trying to run the
fossa test
through a gitlab ci, it gives me the following errorThis is my yaml
Note : When I'm running on the gitlab ci the fossa without the test, it works correctly (
cd "${CI_PROJECT_DIR}" ; FOSSA_API_KEY=$FOSSA_API_KEY fossa
)Any ideas?
The text was updated successfully, but these errors were encountered: