---
title: "Creating a custom variable for job tracking"
date: "2024-02-14T06:18:38+00:00"
summary: "Create a custom variable for job tracking in Acquia Cloud Platform. Learn how to obtain application and job IDs, and generate a full URL for specific pipeline jobs. Streamline your workflow with this step-by-step guide."
image:
type: "page"
url: "/acquia-cloud-platform/creating-custom-variable-job-tracking"
id: "3bdc5117-53be-4d0a-8da1-850fda48a804"
---

As part of building scripts for your Cloud Platform application, you may need a custom variable that provides the full URL to a specific job in the pipeline. Since the job ID and application ID are both provided in a job’s output, it is possible to combine them into a custom variable in your [build definition file](/acquia-cloud-platform/features/pipelines/yaml).

Obtaining the application ID and job ID
---------------------------------------

The UUIDs for your `PIPELINE_APPLICATION_ID` and `PIPELINE_JOB_ID` are available in the **Initialization** section of an Pipelines job’s log, and appear similar to the following:

    export PIPELINE_APPLICATION_ID='11111111-2222-3333-4444-555555555555'
    export PIPELINE_JOB_ID='66666666-7777-8888-9999-000000000000'

Obtaining the job URL
---------------------

To have a job’s full URL be made available for use as a variable called `PIPELINE_JOB_URL`, add the following line to the `VARIABLES` section of your build definition file:

    PIPELINE_JOB_URL: "https://cloud.acquia.com/app/develop/applications/${PIPELINE_APPLICATION_ID}/pipelines/jobs/${PIPELINE_JOB_ID}"