I am trying to use CMD task in azure build pipeline to execute the script which is stored in Azure Repo. When I run the build pipeline, cmd task throws below error:
An error occurred: The file D:\a\1\s\_JmeterTest-AG\JmeterWebApp.jmx doesn't exist or can't be opened
I have checked JmeterWebApp.JMX does exists in my Azure Repo (JmeterTest-AG).
My CMD task details as follows:
**- task: CmdLine@2
inputs:
script: |
echo 'Jmeter............'
jmeter -n -t $(Build.SourcesDirectory)/_JmeterTest-AG/JmeterWebApp.jmx -l _JmeterTest-AG/Summary.jtl -e -o HTMLReports**```
