
pirasdi (Community Member) asked a question.
we are uploading files from an Azure Pipeline yaml task, below is the task definition,
the target folder contains dozens of files and a single jar file, other files are like .class files and similar.
when the Pipeline runs it still uploads everything and not only the single .jar file, like if it is ignoring the line: optargs: '-include *.jar'
what should i do to ignore all but *.jar files and upload only these kind of files?
Thanks,
Davide
- task: Veracode@3
inputs:
ConnectionDetailsSelection: 'Endpoint'
AnalysisService: 'Veracode Insurance'
veracodeAppProfile: 'Insurance BIT'
version: '$(Build.BuildNumber)'
filepath: '$(Build.SourcesDirectory)/target'
optargs: '-include *.jar'
maximumWaitTime: '360'
.png)
Do the jar files names change? What happens if you list the file names explicitly? optargs: '-include myjar1.jar, myjar2.jar, myjar3.jar'