Skip to main content Skip to complementary content

Creating a variable group in Azure DevOps

In Azure DevOps you can create a variable group to store values that you want to control (URLs, credentials, etc.) and reuse them in all your pipelines.

Procedure

  1. On the Pipelines > Library page, go to the Variable groups tab.
  2. Add a new variable group and give it a name.
  3. Add the following variables and values to the group:
    • p2_base_url: URL of the P2 server that contains the Talend CommandLine as well as the Maven plugins necessary to generate and deploy your artifacts. See Before scheduling the execution of your artifacts for an example of how to host the P2 archive on Tomcat.

      Example: https://update.talend.com/Studio/8/base

    • p2_update_url: URL of the folder where the cumulative patches can be downloaded.

      Example: https://update.talend.com/Studio/8/updates/R2023-02

    • talend_cloud_url (to publish artifacts to Talend Cloud): URL of the Talend Cloud service in which you want to deploy your artifacts.

      Example: https://tmc.eu.cloud.talend.com/inventory/

    • talend_cloud_token (to publish artifacts to Talend Cloud): Personal access token necessary to authenticate to your Talend Cloud account.
    • artifact_url (to publish artifacts to an artifact repository): URL of the artifact repository (Nexus, Artifactory, etc.) in which you want to deploy your artifacts.
    • docker_registry (to publish artifacts to Docker): URL of the Docker registry in which you want to deploy your artifacts.
    • docker_image_name (to publish artifacts to Docker): Docker image name inside the Docker registry in which you want to deploy your artifacts.
    • docker_username (to publish artifacts to Docker): User name necessary to authenticate to your Docker registry.
    • docker_password (to publish artifacts to Docker): Password necessary to authenticate to your Docker registry.
  4. Check the Pipeline permissions to make sure the Azure pipeline you create can use this variable group.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!