Legacy Knowledge Base
Published Jun. 30, 2025

Configuring Liferay Cloud with Azure Git Repositories

Written By

Justin Bowman

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

Issue

  • GitHub, GitLab, and Bitbucket are not ideal Git repo options for all customers
  • Customers who utilize AzureDevOps as their Git repository provider prefer to keep their repos in Azure

Environment

  • Liferay PaaS

Resolution

Use the following steps to set up your environment with an Azure Git Repo

  • Azure DevOps Initial Setup:

    • Login: Access your AzureDevOps account.
    • Project Creation: If you haven't set up a project yet, create a new one by following Azure's standard project setup procedures.
  • Authentication & Credentials:

    • If you're accessing a private repository, AzureDevOps will prompt and generate a Personal Access Token (PAT) for authentication.
    • For public repositories or other projects, create a PAT from the top-right drop-down menu in AzureDevOps.
  • Integrating Builds in Jenkins:

    • In Jenkins, navigate to your job's configuration.
    • Under 'Build Triggers', define how and when you wish Jenkins to poll or check your Azure repository for changes.
  • Setting up LCP.json for CI Service:

    • You'll need to edit the LCP.json to specify the CI service image and to recognize Azure DevOps as the SCM provider.
    {
      "image": "liferaycloud/jenkins:specific_version",
      "env": {
         "LCP_CI_SCM_PROVIDER": "azure-devops",
         "LCP_CI_SCM_REPOSITORY_OWNER": "Azure DevOps Owner/ProjectName",
         "LCP_CI_SCM_REPOSITORY_NAME": "RepositoryName",
         "LCP_CI_SCM_TOKEN": "PersonalAccessToken"
      }
    }
  • Deployment Configuration:

    • Once your changes are finalized, commit them to the develop branch.
    • Push the updated branch to GitHub.
    • Configure the Azure DevOps remote settings to ensure Jenkins recognizes and interacts with your Azure repository.
    • Lastly, deploy the most recent successful build to the designated infra environment.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base