Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Extension step returns success after failing #31

Closed
eduardomhg opened this issue Dec 19, 2016 · 3 comments
Closed

Install Extension step returns success after failing #31

eduardomhg opened this issue Dec 19, 2016 · 3 comments

Comments

@eduardomhg
Copy link

After executing the Install Extension step it reported success while having this console output:

error: Error: Failed Request: Conflict(409) - TF1590010: Extension eduardomhg.custom-build-tasks is already installed in this account.

@jessehouwing
Copy link
Collaborator

jessehouwing commented Dec 19, 2016 via email

@eduardomhg
Copy link
Author

eduardomhg commented Dec 19, 2016

So what would be the preferred way of setting up a build pipeline that continuously builds an extension and automatically installs it on a set of accounts (creating a new version number for each build?

Is there any parameter to "install" to specify that we just want to update to a new version so we do not get that error?

@jessehouwing
Copy link
Collaborator

Your setup is fine. If the extension gets uninstalled, this task will reinstall it. But if the extension is installed to all accounts, it will remain so and the new version will automatically become available to these accounts.

The Share and Install task are there for convenience, should you decide to delete a private version of the extension from the marketplace, their default share and install status will be reset, these tasks will then restore them to what the pipeline expects. In every other case, they're not going to do anything, except complain that the extension has already been shared or has already been installed to the account.

I've built in logic to ignore these errors, awaiting a proper fix in tfs-cli. See also: #12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants