release pipeline log output for bash scripts are displayed delayed

Copper Contributor

Hi all,

 

In my release pipelines I'm using bash script steps. When the release pipeline is running the console output logs are first displayed when the job is completely done. For longer running scripts and troubleshooting scenarios it would be great to have a kind of tail which outputs the logs more realtime.

 

example:

 

steps:
- bash: |
   echo hello
   sleep 60
   
   echo hello1
   sleep 60
   
   echo hello2
   sleep 60
   
   echo hello3
   sleep 60
   
   echo hello4
   sleep 60
  displayName: 'Bash Script'

 

While this step is running there is no output for 5 minutes. Is there a possibility improve this situation?

 

using vsts-agent v2.194.0 on onprem ubuntu18.04

 

best regards,

 

Andreas

0 Replies