Reputation: 1800
We run an Azure DevOps (Server 2020 Update 1) instance in my company and use it to run the pipelines. When the tasks are running, there is no output until the task is done.
For example we run
- task: Npm@1
displayName: 'Run ng e2e tests'
condition: eq('${{parameters.e2e}}', 'true')
inputs:
command: custom
verbose: false
customCommand: 'run e2e:ci'
which currently runs into issues, but I have to wait the whole task (around 10 minutes) to get any information. To my knowledge "verbose" is just for "--verbose" not the standard output.
Is there any way to enable the log output while running?
Upvotes: 5
Views: 1143
Reputation: 1800
As I answered in my question, the log of the task is cached thus only showing when it is done. See: What is the difference between using a task for npm vs using a script in an Azure pipeline?
Upvotes: 2