geeklearningio / gl-vsts-tasks-yarn

Yarn Package Manager Visual Studio Team Services Build and Release Management extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yarn Azure Devops Task not failing the yaml build pipeline if the task fails

johnhydemtm365 opened this issue · comments

Before opening an issue please read this.

Are you reporting a bug or a feature request ?

Bug

Description

If the yarn task fails it should fail he devops task, but it does not.

Expected behavior

Task fails and fails the pipeline

Describe the expected behavior

Reproduction

Insert reproduction steps here

MANDATORY FOR BUGS: Insert debug trace

In order to allow us to quickly reproduce you issue please include a link to a reproduction repository
YarnTask-Failure.txt

:Ref
https://developercommunity.visualstudio.com/t/yarn-task-is-failing-but-it-does-not-fail-the-buil/1431348?from=email

System information

*VSTS

Agent:

  • Hosted

OS:
*Linux

Yarn version:
1.22.10*

Node version:
Hosted Linux server in Devops - ubuntu-latest*