You can also use more specific use case tasks like the Azure PowerShell task too but those won't be covered here. Depending on the options chosen, the pipeline agent will either be on Windows or Linux. The PowerShell task takes a script or PowerShell code from the pipeline and runs it on a pipeline agent. To run a PowerShell script in a pipeline requires using the PowerShell task. You're also going to learn how to use AzDo pipeline variables in scripts and also how to set them using AzDo logging commands. ![]() Using the PowerShell and Bash tasks, you'll see how to invoke scripts, pass parameters to them, control errors and how to fail a task in the pipeline should a problem arise in the script. In this hands-on tutorial, you're going to learn everything there is to know about running PowerShell and Bash scripts in AzDo Pipelines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |