Azure-pipelines-tasks: [AzureWebAppV1] Log output contains "undefined"

Created on 7 Sep 2019  路  2Comments  路  Source: microsoft/azure-pipelines-tasks

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug

Enter Task Name: AzureWebAppV1

Environment

  • Service (Azure Pipelines)

Issue Description

In the log output, a line contains a "undefined":

Updating App Service Application settings. Adding: {"WEBSITE_TIME_ZONE":"W. Europe Standard Time"}. Deleting : undefined

Please change "undefined" to something more meaningful as this can confuse our users.

Task logs

The log output looks like this:


##[section]Starting: Deploy Web App: e2e-staging
==============================================================================
Task         : Azure Web App
Description  : Deploy an Azure Web App for Linux or Windows
Version      : 1.0.21
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks
==============================================================================
Got service connection details for Azure App Service:'e2e-staging'
Updating App Service Application settings. Adding: {"WEBSITE_RUN_FROM_PACKAGE":"1"}. Deleting : {"WEBSITE_RUN_FROM_ZIP":{"value":""}}
Package deployment using ZIP Deploy initiated.
Successfully deployed web package to App Service.
Updating App Service Application settings. Adding: {"WEBSITE_TIME_ZONE":"W. Europe Standard Time"}. Deleting : undefined
Successfully added release annotation to the Application Insight : e2e-staging
App Service Application URL: http://e2e-staging-preprod.azurewebsites.net
##[section]Finishing: Deploy Web App: e2e-staging

Thanks,
--Neno

AzureAppService Release bug

All 2 comments

Thanks for reporting this. I will be making a fix soon.

Closing issue, since fix is merged. Will be available during next sprint deployment.

Was this page helpful?
0 / 5 - 0 ratings