'Hello to the incredible community of StackOverflow'
Scan the packages of our code with NexusIQ Task, in an Azure DevOps Services Pipeline
Azure DevOps Services-->Pipelines-->Task-->NexusIQ
NexusIQ Task Parameter(s):
Service Connection = Stablished and whitelisted
Scan Targets = **/*.jar, **/*.war, **/*.ear, **/*.zip, **/*.tar.gz, **/*.dll
Performing the Scan of our code the last bit throws the next error:
Error from CLI: Error: Command failed with exit code 1: java -jar
Error from CLI: Error: Command failed with exit code 1: java -jar F:\AzureAgents\Agent01\_work\_tasks\NexusIqPipelineTask_4f40d1a2-83b0-4ddc-9a77-e7f279eb1802\1.3.19\resources\nexus-iq-cli-1.128.0-01.jar @F:\AzureAgents\Agent01\_work\_tasks\NexusIqPipelineTask_4f40d1a2-83b0-4ddc-9a77-e7f279eb1802\1.3.19\resources\cli-params.txt
**/*.jar, **/*.war, **/*.ear, **/*.zip, **/*.tar.gz, **/*.dll
to **/*.war, **/*.ear, **/*.zip, **/*.tar.gz, **/*.dll
**/*.jar
file extension was removed but either way the error output remains the same:Error from CLI: Error: Command failed with exit code 1: java -jar F:\AzureServicesAgents\AgentU01\_work\_tasks\NexusIqPipelineTask_4f40d1a2-83b0-4ddc-9a77-e7f279eb1802\1.3.21\resources\nexus-iq-cli-1.128.0-01.jar @F:\AzureServicesAgents\AgentU01\_work\_tasks\NexusIqPipelineTask_4f40d1a2-83b0-4ddc-9a77-e7f279eb1802\1.3.21\resources\cli-params.txt
We performed an update of the java version in our testing server to version 14, which solved the issue, hope this helps you all the community as well