Azure Pipelines Build Log AnalystAnalyze build logs using Azure OpenAI. For Classic & YAML Pipelines:Include a task section in your Pipeline. Include OpenAI informations in your task inputs. Using Azure Open AI ServiceTo integrate the Azure Open AI service, input the endpoint and API key details for Azure OpenAI. The endpoint should be formatted as: https://{XXXXXXXX}.openai.azure.com/openai/deployments/{MODEL_NAME}/chat/completions?api-version={API_VERSION} Choosing OpenAI ModelsIf not utilizing Azure's Open AI Service, select from the available models: "gpt-4", "gpt-3.5-turbo", or "gpt-3.5-turbo-16k". By default, "gpt-3.5-turbo" is selected if no model is specified. Installation and UsageInstall the extensionFirst, add the extension to your Azure DevOps organization by clicking "Get it free" and follow the steps for installation. You might need to allow the extension access to your Azure DevOps account. Add the Task to Your PipelinePost-installation, include the task in your build pipeline by clicking the "+" icon, search for "Analyze for Build Tasks", select, and add it. Task ConfigurationAfter adding the task, set it up by providing your OpenAI API key. Create an API key at https://platform.openai.com/account/api-keys. Analyzing Build LogsThe task analyzes when the build is triggered by one. It analyzes the error and warning logs in the build tasks and provides solution suggestions. CompatibilityThe task is compatible with Windows build agents. |