Azure DevOps Pipelines VSBuild task fails on self-hosted Azure Pipelines Agent Today I got this baffling error while trying to run one of the few pipelines I own that requires a self-hosted agent. 2023-09-18T13:24:55.1897667Z ##[section]Starting: VSBuild 2023-09-18T13:24:55.2042232Z ============================================================================== 2023-09-18T13:24:55.2042611Z Task : Visual Studio build 2023-09-18T13:24:55.2042705Z Description : Build with MSBuild and
Azure DevOps Featured Publish Azure DevOps Extensions using Azure Workload Identity As you may know, I maintain several Azure DevOps Extensions. To publish them I use the Azure DevOps extension tasks. And to authenticate you must provide a Personal Access Token.
Azure DevOps Pipelines Hey! You broke our pipeline! One of the advantages of Azure Pipelines is that it automatically updates your tasks to the latest minor version. That way you don't have anything to stay up-to-date. But this also has disadvantages. Both Microsoft and Extension Authors can accidentally break your pipelines.
GitHub Featured Enable RenovateBot for Azure Pipelines In my report on the Security state of the Azure DevOps Marketplace I came to the unfortunate conclusion that about 40% of the extensions contain vulnerabilities. One of the recommendations for both Azure DevOps administrators and pipeline authors was to keep the Azure Pipelines Tasks up-to-date.
Azure DevOps Pipelines Speeding up the Azure DevOps Extension tasks I've been maintaining and using the Azure DevOps Extension tasks for years now and I've always been frustrated by the slowness of some steps.
Azure DevOps Featured Security state of the Azure DevOps Marketplace This report focusses on the Azure Pipelines extensions in the Marketplace. At the time of compiling the report there are 1460 extensions in the "Azure Pipelines" category. More than 500 have one or more vulnerabilities or vulnerable dependencies.
GitHub Actions Upgrade Hosted Agent / GitHub Runner PowerShell I had recently fixed a bug in one of my build scripts by upgrading to the latest PowerShell Preview version. Of course, that version isn't yet available on the hosted agent for Azure Pipelines and GitHub Actions.
Azure DevOps Featured Azure DevOps 2020 and 2019 (and 2018) patch for log4j vulnerability Azure DevOps can be configured with advanced Code Search. That feature relies on Elastic Search. Depending on the age of your server, JVM version and Elastic Search version this may result in your setup being vulnerable to CVE-2021-44228.
Visual Studio 2022 Adding Visual Studio 2022 to Azure DevOps Server 2020 Visual Studio 2022 is out! But Azure DevOps Server hasn't had a release to support it yet. This means that in Azure Pipelines it won't detect your freshly installed copy of Visual Studio 2022.
Azure DevOps "Fixing" massive parallel builds on Azure Pipelines with TFVC Last weekend I helped migrate a client from Team Foundation Server 2017 to Azure DevOps in the cloud. One of the many reasons to migrate was the ability to leverage the hosted pool to do builds and not having to maintain build servers.
Azure DevOps Pipelines Renaming an Azure Pipeline task in an existing Azure DevOps extension I have many Azure DevOps Extensions. Some recent, but also tasks dating back to 2015 when the extensibility model for build tasks forst appeared. Over time much has changed in Azure Pipeline Land...
Azure DevOps Accessing Azure DevOps APIs with large volumes of data Most REST APIs exposed by Azure DevOps are limited in the amount of data they will return. You can choose to override the default number by passing a $top=### query string parameter. Azure DevOps will try to honor this request, but I've seen it refuse and return a lower number anyway.
azure-repos Rename your master branch in Azure Repos Renaming your master branch in Azure Repos could be as simple as a few clicks. But if you have complex policies or permissions in place, it may be a little more work. To rename your master branch you have to create a new branch and then delete the old one:
git Rename your master branch to something better I just went through my GitHub repositories to rid them of the master branches. It was a relatively simple process that took me about an hour or 2 for all my repositories. Scott Hanselman explains the base process. It's a simple set of steps to create a new branch with
azure-artifacts Create an Organization level feed in Azure Artifacts A while ago the Azure DevOps team has removed the option to create "Organization level feeds" in Azure Artifacts. This move matches many previous efforts to isolate "projects" in Azure DevOps to make things less confusing and easier to migrate.
Azure DevOps Pipelines What to do when your build hangs on the Hosted Pool... When your build freezes and you can't remote into the agent... You're basically blinded...
Azure DevOps Pipelines Solving TFVC error TF14067 and Azure Pipelines When this happens you'll see the following cryptic error message that mentions: A path you are absolutely certain exists; A workspace name that was created minutes before when the build agent initialized; TF14067.
Azure DevOps Configuring standard policies for all repositories in Azure Repos By default you can only configure policies on specific branches in Azure Repos. If you're using a strict naming pattern for your branches (Release Flow or GitHub Flow), you may want to set a policy for all future Release Branches, or all Feature branches.
git Setting default repository permissions on your Azure DevOps Organization There is no UI to set the security at the Organization level. This is fine if you're happy with the default security settings in Azure DevOps, but if you want certain settings to apply to all projects, then it's sometimes useful to set the permissions at the Organization level.
Team Foundation Version Control (TFVC) Workspace management tips for TFVC Workspaces are maybe the least understood feature in TFVC (Team Foundation Version Control). They're a great way to isolate different sets of files and changes from TFVC repositories.
Azure DevOps Azure DevOps Extension Tasks 1.2.3x It's been a while since I last blogged about the Azure DevOps Extension Tasks. Here are the things that have changed since the last update [https://jessehouwing.net/vsts-relnote-ci-cd-tools-for-vsts-extensions-1-1-75/]: * Added support for publishing Visual Studio extensions. * Support for versioning localized Azure Pipeline tasks * Support for executing under Node 10 * Fixed
git Configure Visual Studio to use a different Git Credential Manager for Windows Visual Studio ships with the Git credential Manager for Windows (GCMW) as part of its Team Explorer feature. This nifty little helper allows you to authenticate to Azure Repos among other git providers using your normal username and password and optional 2FA and it will handle the Personal Access Token
Azure DevOps Featured Connect any version of Visual Studio to Azure DevOps or Azure DevOps Server Visual Studio has been around for a long time and there are still people developing in Visual Basic 6 or Visual Studio 2008. Even if you're using a more recent IDE, you could need one or more hotfixes and/or service packs.
Azure DevOps Staged execution of tests in Azure DevOps Pipelines When running Unit Tests in your build system, you may want to first run the most important suite, the one that should never fail, the ones that are currently being changed, finally the regression suite that may be slower to execute.
Azure DevOps Pipelines VSTS Build & Release to Azure DevOps Pipelines tasks Out with the old, in with the new! With the rename of Visual Studio Team Services Build and Release Management to Azure DevOps Pipelines all of the underlying libraries are being renamed too. In order to stay up to date and receive the latest updates you'll need to make a