0

Try to copy JMeter report to AZ BLOB container.

Using Ubunto agent in release pipeline ,as the Azure blob file copy only supported from Win agent i've tried to find some other way to do the copy on a linux agent.

Running the following command in Azure CLI task:

azcopy copy '$(System.DefaultWorkingDirectory)/Report' 'https://account.blob.core.windows.net/container?sp=racwdl&st=2021-04-22T12:12:49Z&se=2022-06-01T20:12:49Z&spr=https&sv=2020-02-10&sr=c&sig=xxxx' --recursive=true

I want to copy all the content of folder 'Report' to the AZ BLOB recursively.

The task is finished successfully but no files at all were copied. Using SAS for the container.

Attached the task logs of running.

Any ideas?

Task logs

Gaurav Mantri
  • 128,066
  • 12
  • 206
  • 241

1 Answers1

0

Make sure you did not put the files into a wrong path for Reports folder. You can check your variable for $(System.DefaultWorkingDirectory) variable under Pipeline or print it out under pipeline.

With all the steps, you should make sure the files are in the right directory.

Besides, you could use the variable system.debug: true to check the detailed log about your task.

Mr Qian
  • 21,064
  • 1
  • 31
  • 41