I have a simple yaml script that starts a task:
trigger:
branches:
include:
- '*'
tags:
include:
- '*'
jobs:
- job: Linux
pool:
name: BuildMachineUbuntu
steps:
- checkout: self
clean: false
- task: CmdLine@1
inputs:
filename: 'CI_Build_Linux.sh'
The CI_Build_Linux.sh is a very simple script:
test_str=$'hello\rworld'
echo "$test_str"
exit 0
Now I expected the outcome to be that the logging just printed world. However it prints 2 lines: hello and world.
So as the title says, how do I do CR in Azure?
I want to use it as I want to print progress, but not spam the logging, and SetProgress was not what I was looking for.
Edit: I have added the output after running it with system.debug for both Bash and CmdLine
Output from Bash: https://pastebin.com/YHwdHq1k
Output from CmdLine: https://pastebin.com/Mv33GKSk
