Describe the bug
When using the Jfrog plugin in a pipeline with this command jf 'npm ci --cache /data/nodejs/npm-cache' (note the parameter passage), We get this message in the log
[Pipeline] jf
[npm-example] $ /data/jenkins/home/tools/io.jenkins.plugins.jfrog.JfrogInstallation/jfrog-cli/jf npm ci --cache /data/nodejs/npm-cache
09:22:59 [Info] Build-info dependencies collection is not supported for installations of single packages. Build-info creation is skipped.
Current behavior
It's probably cause by this line :
https://github.com/jfrog/jfrog-cli-artifactory/blob/01dcbe0d33872c1a601ff55f3438f97ce382ce12/artifactory/commands/npm/npmcommand.go#L328
Reproduction steps
Create a pipeline from the NPM example
https://github.com/jfrog/jenkins-jfrog-plugin?tab=readme-ov-file#examples
add a parameter like --cache /folder/for/cache
Expected behavior
I expect the buildinfo to be generated with the dependances used by the project.
JFrog plugin version
1.5.5
JFrog CLI version
2.75.1
Operating system type and version
Red Hat Enterprise Linux 8.10 (Ootpa)
JFrog Artifactory version
7.71.18
JFrog Xray version
No response
Describe the bug
When using the Jfrog plugin in a pipeline with this command
jf 'npm ci --cache /data/nodejs/npm-cache' (note the parameter passage), We get this message in the logCurrent behavior
It's probably cause by this line :
https://github.com/jfrog/jfrog-cli-artifactory/blob/01dcbe0d33872c1a601ff55f3438f97ce382ce12/artifactory/commands/npm/npmcommand.go#L328
Reproduction steps
Create a pipeline from the NPM example
https://github.com/jfrog/jenkins-jfrog-plugin?tab=readme-ov-file#examples
add a parameter like
--cache /folder/for/cacheExpected behavior
I expect the buildinfo to be generated with the dependances used by the project.
JFrog plugin version
1.5.5
JFrog CLI version
2.75.1
Operating system type and version
Red Hat Enterprise Linux 8.10 (Ootpa)
JFrog Artifactory version
7.71.18
JFrog Xray version
No response