Azure Pipelines Recommendations for using Azure CLI in your workflow Azure CLI is widely used in GitHub Actions and Azure Pipelines, as well as many other CI/CD tools. Over the last few weeks, I've been looking into its performance and security and based on that here are a number of recommendations.
GitHub Featured Investigating az-cli performance on the hosted Azure Pipelines and GitHub Runners I've been building a few more workflows and pipelines over the past few days and had been experimenting with the az-cli. And I've been running into all kinds of performance issues.
Azure 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 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 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.
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 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 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...
msbuild Featured 99% of code isn't yours Your own 1% is under source control, but are you keeping taps on all of the libraries you import each time you do a dotnet restore or npm install?
Azure 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 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
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 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
Azure DevOps Tasks and Release Gates on RadioTFS In this episode of RadioTFS we spoke about the Global DevOps Bootcamp, Azure Pipelines and more specifically Release Gates and setting up a pipeline for your own Azure DevOps Extensions and some other recent blog posts.
Azure DevOps Pipeline extension scoped to a specific TFS or Agent version In The Netherlands more and more cities are creating an artificial wall around the city centers for older cars, certain fuel types or lorries. This is happening elsewhere in Europe as well. A similar things needs to happen in the Azure DevOps marketplace now that the number of supported target
Azure DevOps Fail your builds when tests are skipped in Azure DevOps Pipelines When the Visual Studio Test Task in Azure DevOps Pipelines fails to find any tests it logs a warning and happily succeeds. It has been a regular request on the MVP community to do something about that and to ensure that builds fail when no tests have executed. Since test
Azure DevOps Azure DevOps Extension Tasks 1.1.75 I'm happy to announce that version 1.1.75 of the Azure DevOps Extension Tasks is rolling out to the Visual Studio Marketplace. The last few releases have added a couple of significant features that I'd like to quickly highlight in this post.
Quality Code Featured Hard lessons in asynchronous JavaScript code Last Friday I received a bug report for one of the extension I maintain. It took a while to first reproduce the case and then to figure out what was happening exactly. I found that my assumption about the execution order didn't match reality and that I was fighting a race condition.
Ghost Continuous Delivery of customized Ghost themes using VSTS In order to migrate my Ghost blog I needed to customize the default theme to support some of the features I'm relying on: - Disqus comments - Google Analytics - Integrating Google+ comments. To be able to quickly integrate updates I'm maintaining a fork of the Casper theme with my changes.
Azure DevOps Featured Crafting complex Release Gate conditions in VSTS A recent addition to VSTS is the ability to run a quick check prior to triggering a release to an environment. These checks can be used to check that there are no new customer complaints, no important jobs running in the environment etc. This post explains how to build your own.