Azure DevOps Pipelines: Create a text file with the current build number Azure DevOps Pipelines: Create a text file with the current build number azure azure

Azure DevOps Pipelines: Create a text file with the current build number


You can create a text file using powershell task.

use following commands inside powershel task

New-Item pathtoFile\test.txtSet-Content pathToFile\test.txt '$Build.BuildNumber'