Comments (6)
One of my pipelines was using the outputVariable parameter and as a result broke. Was able to get my pipeline working again with this information. Thank you.
from azure-devops-extension-tasks.
I've updated the task to always register the value as an output variable and we've taken away the ability to specify it.
Instead, just name the task and the variable will always add: .Extension.Version
.
If that doesn't work for you, consider adding @3.2.123
instead or @3
to revert back to the version before this change, instead if relying on latest v3.
Version 3.5 uses the same syntax as V4 does now.
Version 3.5 removed the need to set anything and always registers an output variable:
steps:
- task: QueryAzureDevOpsExtensionVersion@3
displayName: 'Query Extension Version: jessehouwing.jessehouwing-vsts-variable-tasks'
name: Query
inputs:
connectedServiceName: Marketplace
publisherId: jessehouwing
extensionId: 'jessehouwing-vsts-variable-tasks'
versionAction: Patch
You can then reference the variable using Query.Extension.Version
in the same job or with: dependencies.JobA.outputs['Query.Extension.Version']
across jobs.
from azure-devops-extension-tasks.
Sorry for breaking you folks.
from azure-devops-extension-tasks.
I know that this issue is closed, but I'm curious why the change was also made to the v3
of the task? Was that breaking change done intentionally? If not could a new version of the task be released that reverts the breaking change to v3
?
I'm sure there's a good reason for the change in general, but I'd expect that breaking changes to inputs only happen in major version releases and that users could evaluate changes without needing to implement emergency workarounds.
from azure-devops-extension-tasks.
@smkell it happened because of a versioning thing that turned out to be a mistake.
I upped the version to @4 prior to the release of the Node16 handler updates to accommodate this breaking change. But that meant the query version would have had version @5 for Node16, where all other tasks would have had @4. So I backported the latest versions of each task into the extension for backwards compatibility. I had forgotten about the breaking change, breaking you, and I would now break the people who made the fix.
The whole outputVariable parameter has been marked deprecated for a long time and there is an easy workaround by specifying an exact version number or implementing the 'correct' way to reference the variable.
On top it that, everyone needs to move to the new @4 anyway due to the Node16 handler updates.
So I had to make a call and so far only 3 people have had an issue with it. I'm really sorry I broke you, but it feels it was the right call.
from azure-devops-extension-tasks.
@smkell managed to find the reason for the bug I was fighting to support both the new and the old handling and found a workaround. Pushing a new version of the task that should unbreak @3
.
Thanks for keeping me honest, but please do upgrade to @4
;).
from azure-devops-extension-tasks.
Related Issues (20)
- Publish Extension (Version 3.0) failing recently HOT 2
- Uploading of Azure DevOps Extensions fails with timeout
- Cannot publish Marketplace Extension using PAT HOT 3
- Assetfiles not published to VS Marketplace
- Update azure function app setting HOT 1
- This repo is missing important files
- ##[error]Unable to find Tfx version 'v0.11.x' HOT 1
- Publish as GitHub Actions HOT 4
- Speed up publishing from VSIX (preview) HOT 2
- "The user with identifier .... does not exist" on publish HOT 6
- Dependency Dashboard
- Action Required: Fix Renovate Configuration
- tfx cannot be found HOT 1
- Unhandled: Cannot find module 'azure-pipelines-tool-lib/tool' HOT 3
- Regarding Publish extension from Azure DevOps pipeline into marketplace HOT 3
- [Now in preview] Add support for Azure AD service Principals HOT 15
- Make renovate cancel-in-progress HOT 1
- fix build badges
- Publish Visual Studio Extension: Publish Fails in Azure DevOps with Unhandled Exception on Windows-2022 Agent HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-devops-extension-tasks.