Forum Discussion

Rainer_Muehlberger's avatar
Rainer_Muehlberger
Copper Contributor
Jan 21, 2022

How to remove a property from Azure DevOps Builddefinition in typescript?

Hello,
I want to remove a builddefinition variable in a Azure DevOps Build Pipeline in typescript because I'm implementing a custom build task. 
I know, there is a "UpdateDefinitonProperties" method inside the interface IBuildapi (module 

azure-devops-node-api/BuildApi), but how do I have to code this to remove a variable during the run of the build? 
It is used for migration purposes to set a special revision number for the first run. 

BR,
Rainer
 

Resources