Extending the deployment duration timeout in Azure

I deployed an angular app to Azure a couple of days ago, and I stumbled on a small problem – the deployment failed due to timeout (the deployment included uploading all the project files from GIT so that contributed to the total time).

Luckily, it’s not too much work fixing this issue. Here’s what you need to do:

Step 1: Login to Azure portal and go to your dashboard

1

Step 2: Go into your app and enter the “Application settings”

2

Step 3: Add parameters to the “App settings” section

3

There are two parameters you need to add:

  1. WEBJOBS_IDLE_TIMEOUT
  2. SCM_COMMAND_IDLE_TIMEOUT

The value you input is the number of seconds until a timeout occurs – in my case I chose an hour (hour = 60 minutes * 60 seconds per minute = 3600 seconds).

Be careful not to set this value too high, otherwise you might get a “bad” build to be stuck for a long time before going into a timeout (there’s a reason the timeout exists after all).

After you finish – remember to click the Save button at the top.

 

That’s it!

Hoped I helped,

Amir

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: