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.
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:
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:
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Creating a custom variable for job tracking
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.
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:
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: