geeklearningio / gl-vsts-tasks-yarn

Yarn Package Manager Visual Studio Team Services Build and Release Management extensions
MIT License
52 stars 18 forks source link

Azure DevOps: Yarn task missing from build definition selection #56

Closed imtravisb closed 5 years ago

imtravisb commented 5 years ago

Before opening an issue please read this.

Are you reporting a bug or a feature request ?

Description

After installing the Yarn extension via Marketplace to my org's Azure DevOps account, there is only one 1 Yarn task available in the build definition (Yarn Tool Installer). The actual Yarn task is missing.

Expected behavior

There should be two "tasks" available in the build definition: Yarn task & Yarn Tool Installer

Reproduction

Added Yarn to Azure DevOps using "manage extensions" in the Org Settings.

MANDATORY FOR BUGS: Insert debug trace

In order to allow us to quickly reproduce you issue please include a link to a reproduction repository

System information

VSTS or TFS:

Agent:

OS:

Yarn version: Version 2.6.999

image

sandorfr commented 5 years ago

Sounds like it is a question for Microsoft Support. It's working perfectly fine on my accounts:

image

imtravisb commented 5 years ago

Ok, thanks.

NiclasSparrSpoton commented 5 years ago

I got the same issue

imtravisb commented 5 years ago

Here's the link to the issue I created over on the MS Dev Community side... https://developercommunity.visualstudio.com/content/problem/377826/yarn-task-missing-from-available-tasks-after-yarn.html

imtravisb commented 5 years ago

Sounds like it is a question for Microsoft Support. It's working perfectly fine on my accounts:

For what it's worth, I tried to add Yarn to my personal DevOps account, and had the same exact problem. I'm guessing if you already have it installed and it's working correctly, you're fine. Maybe try adding a new Org in DevOps and install the extension and report the results?

sandorfr commented 5 years ago

Would you mind communicating your account via twitter DM to vsts team ?

See : https://twitter.com/youhananaseim/status/1060682461955416064?s=21

sarvasana commented 5 years ago

Idem

csolarz commented 5 years ago

+1 !!

imtravisb commented 5 years ago

Would you mind communicating your account via twitter DM to vsts team ?

See : https://twitter.com/youhananaseim/status/1060682461955416064?s=21

As much fun as it is to jump through these hoops, I've abandoned Yarn. This was affecting a particularly important CI process. Powershell task and good 'ol NPM to the rescue. Good luck to everyone else!

sandorfr commented 5 years ago

@imtravisb sorry to hear that. I hope you'll give it another chance once it's resolved.

I've been able to reproduce it and I'm in touch with VSTS team.

csolarz commented 5 years ago

Today appears the option "Yarn task" in preview mode, that solves my problem and i didnt make any changes in my build definitions.

image

sandorfr commented 5 years ago

what do you mean by preview mode?

csolarz commented 5 years ago

@sandorfr

image

sandorfr commented 5 years ago

Hi

@csolarz, @imtravisb @NiclasSparrSpoton @youfoundkris, there was an installation issue that has been resolved my Azure devops last week. You should be able to use both tasks now. Also, #57 and #58 have been resolved so you shouldn't see that preview flag anymore.

Let me know how you go.

Kind regards.

imtravisb commented 5 years ago

@sandorfr Can confirm, Yarn task is back and fully functional. Thanks.