Posts

Showing posts from July, 2024

JENKINS - Build In Variables

 Jenkins provides a variety of built-in environment variables that can be used in your Jenkins Pipelines to access information about the build environment, the build process, and the system. Here is a comprehensive list of the most commonly used built-in environment variables, along with their descriptions: Common Built-in Jenkins Environment Variables BUILD_ID Description : A unique identifier for the current build. It is the same as BUILD_NUMBER . Example : 2024 BUILD_NUMBER Description : The current build number, which is an incrementing integer starting from 1. Example : 42 BUILD_DISPLAY_NAME Description : The display name of the current build, often including the build number. Example : #42 BUILD_TAG Description : A unique identifier for the current build in the format job_name_build_number . Example : jenkins-MyJob-42 BUILD_URL Description : The URL to the build's web page. Example : http://localhost:8080/job/MyJob/42/ JOB_NAME Description : The name of the job being executed...