I have created Java Maven pipeline using YAML.
Wherein i am using Nexus IQ Extension 1.2.1 for Nexus IQ Policy Evaluation
below is the Task in my pipeline -
- task: SonatypeIntegrations.nexus-iq-azure-extension.nexus-iq-azure-pipeline-ask.NexusIqPipelineTask@1
displayName: ‘Nexus IQ Policy Evaluation’
scanTargets: '**/.jar, **/.war, **/.ear, **/*.tar.gz’
Nexus IQ is unable to scan targets in the Azure DevOps -> Java Build Pipeline.
I have also tried with giving scan targets as below-
scanTargets : ‘$(Build.ArtifactsStagingDirectory)/**/*.war’’
Also with hard coded values scanTargets is unable to scan the Artifacts.