Configure source control for Windows Azure Pack: Web Sites
Applies To: Windows Azure Pack
Windows Azure Pack: Web Sites supports automated publishing from a build definition within Visual Studio Team Foundation Server (TFS). For more information, see Publish from TFS to Windows Azure Pack: Web Sites.
In addition to TFS, the Web Site service supports using the following additional applications as source control repositories:
Bitbucket
GitHub
CodePlex
Dropbox
Before you can use one of these applications, you need to configure Windows Azure Pack: Web Sites with access information.
To configure source control
In the management portal for administrators, click Web Site Clouds to open the Web Site Clouds dashboard.
Click Source Control.
Enter the information for the source control application you are using.
While these applications are not part of the Windows Azure Pack: Web Sites itself, the following information helps you gather the data that you need from the applications in order to configure the Web Sites cloud controller.
Bitbucket
Use the following steps for Bitbucket.
Create an account at https://bitbucket.org.
Create a project.
Go to https://bitbucket.org/account/user/\<user name>/api and add an Oauth consumer.
For the URL, enter the URL for the management portal for tenants.
After you add the consumer, you will see the client ID and client secret. This is the information you need for the Web Sites cloud controller.
GitHub
Use the following steps for GitHub.
Create an account at https://github.com.
Go to https://github.com/applications/settings and click Register new application.
For the URL, enter the URL for the management portal for tenants.
For the Callback URL, enter <tenantURL>/websites/GitHubTokenAuthorize.
Click Register application.
After you register the application, you will see the client ID and client secret. This is the information you need for the Web Sites cloud controller.
Codeplex
Use the following steps for Codeplex.
Create an account at https://www.codeplex.com.
Create a new project.
Go to https://www.codeplex.com/site/developers/apps and create an application.
For the URL and callback URL, enter the URL for the management portal for tenants.
After you create the application, you will see the client ID and client secret. This is the information you need for the Web Sites cloud controller.
Dropbox
Use the following steps for Dropbox.
Register at http://www.dropbox.com.
Click Apps Console, and then click Create an app.
Enter an app name and domains, and then click Create app.
After you create the application, you will see the app key, app secret, and app folder. This is the information you need for the Web Sites cloud controller.
The app key corresponds to the client ID, and the app secret corresponds to the client secret.