{"id":506,"date":"2017-01-15T03:02:25","date_gmt":"2017-01-15T03:02:25","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2017\/01\/15\/environment-variables-and-properties-defined-in-jenkins\/"},"modified":"2021-11-19T06:11:31","modified_gmt":"2021-11-19T06:11:31","slug":"environment-variables-and-properties-defined-in-jenkins","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/environment-variables-and-properties-defined-in-jenkins\/","title":{"rendered":"Environment variables and properties defined in jenkins | Jenkins Tutorial"},"content":{"rendered":"<h2><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3018 aligncenter\" src=\"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/01\/environment-variables-and-p.png\" alt=\"\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2017\/01\/environment-variables-and-p.png 600w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2017\/01\/environment-variables-and-p-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/h2>\n<h2>Environment variables and properties defined in jenkins<\/h2>\n<h3>Jenkins Set Environment Variables<\/h3>\n<p>When a Jenkins job executes, it sets some environment variables that you may use in your shell script, batch command, Ant script or Maven POM&nbsp;<a href=\"https:\/\/wiki.jenkins-ci.org\/display\/JENKINS\/Building+a+software+project#Buildingasoftwareproject-1\" target=\"_blank\" rel=\"noopener\">1<\/a>. The following table contains a list of all of these environment variables.<\/p>\n<div>\n<table>\n<tbody>\n<tr>\n<th>Environment Variable<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>BUILD_NUMBER<\/td>\n<td>The current build number, such as &#8220;153&#8221;<\/td>\n<\/tr>\n<tr>\n<td>BUILD_ID<\/td>\n<td>The current build id, such as &#8220;2005-08-22_23-59-59&#8221; (YYYY-MM-DD_hh-mm-ss,&nbsp;<a href=\"https:\/\/issues.jenkins-ci.org\/browse\/JENKINS-26520\" rel=\"nofollow noopener\" target=\"_blank\">defunct<\/a>&nbsp;since&nbsp;version 1.597)<\/td>\n<\/tr>\n<tr>\n<td>BUILD_URL<\/td>\n<td>The URL where the results of this build can be found (e.g. http:\/\/buildserver\/jenkins\/job\/MyJobName\/666\/)<\/td>\n<\/tr>\n<tr>\n<td>NODE_NAME<\/td>\n<td>The name of the node the current build is running on. Equals &#8216;master&#8217; for master node.<\/td>\n<\/tr>\n<tr>\n<td>JOB_NAME<\/td>\n<td>Name of the project of this build. This is the name you gave your job when you first set it up. It&#8217;s the third column of the Jenkins Dashboard main page.<\/td>\n<\/tr>\n<tr>\n<td>BUILD_TAG<\/td>\n<td>String of&nbsp;jenkins-${JOB_NAME}-${BUILD_NUMBER}. Convenient to put into a resource file, a jar file, etc for easier identification.<\/td>\n<\/tr>\n<tr>\n<td>JENKINS_URL<\/td>\n<td>Set to the URL of the Jenkins master that&#8217;s running the build. This value is used by&nbsp;<a title=\"Jenkins CLI\" href=\"https:\/\/wiki.jenkins-ci.org\/display\/JENKINS\/Jenkins+CLI\" target=\"_blank\" rel=\"noopener\">Jenkins CLI<\/a>&nbsp;for example<\/td>\n<\/tr>\n<tr>\n<td>EXECUTOR_NUMBER<\/td>\n<td>The unique number that identifies the current executor (among executors of the same machine) that&#8217;s carrying out this build. This is the number you see in the &#8220;build executor status&#8221;, except that the number starts from 0, not 1.<\/td>\n<\/tr>\n<tr>\n<td>JAVA_HOME<\/td>\n<td>If your job is configured to use a specific JDK, this variable is set to the JAVA_HOME of the specified JDK. When this variable is set, PATH is also updated to have $JAVA_HOME\/bin.<\/td>\n<\/tr>\n<tr>\n<td>WORKSPACE<\/td>\n<td>The absolute path of the workspace.<\/td>\n<\/tr>\n<tr>\n<td>SVN_REVISION<\/td>\n<td>For Subversion-based projects, this variable contains the revision number of the module. If you have more than one module specified, this won&#8217;t be set.<\/td>\n<\/tr>\n<tr>\n<td>CVS_BRANCH<\/td>\n<td>For CVS-based projects, this variable contains the branch of the module. If CVS is configured to check out the trunk, this environment variable will not be set.<\/td>\n<\/tr>\n<tr>\n<td>GIT_COMMIT<\/td>\n<td>For Git-based projects, this variable contains the Git hash of the commit checked out for the build (like&nbsp;ce9a3c1404e8c91be604088670e93434c4253f03) (all the GIT_* variables require git plugin)<\/td>\n<\/tr>\n<tr>\n<td>GIT_URL<\/td>\n<td>For Git-based projects, this variable contains the Git url (like&nbsp;git@github.com:user\/repo.git or [https:\/\/github.com\/user\/repo.git])<\/td>\n<\/tr>\n<tr>\n<td>GIT_BRANCH<\/td>\n<td>For Git-based projects, this variable contains the Git branch that was checked out for the build (normally origin\/master)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>Promoted Build Plugin Environment Variables<\/h2>\n<p>If you are using the&nbsp;<a href=\"https:\/\/wiki.jenkins-ci.org\/display\/JENKINS\/Promoted+Builds+Plugin\" rel=\"nofollow noopener\" target=\"_blank\">Promoted Build Plugin<\/a>, you will have access to the following environment variables. This allows you to access information about your Jenkins build since certain environment variables stated above (such as&nbsp;BUILD_TAG&nbsp;now refer to the Promoted Build Plugin&#8217;s job.<\/p>\n<div>\n<table>\n<tbody>\n<tr>\n<th>Environment Variable<\/th>\n<th>Replaces<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>PROMOTED_URL<\/td>\n<td>BUILD_URL<\/td>\n<td>The URL of the&nbsp;<strong>original<\/strong>&nbsp;Jenkins job that is involved with the promotion. BUILD_URL now refers to the Promotion&#8217;s URL<\/td>\n<\/tr>\n<tr>\n<td>PROMOTED_JOB_NAME<\/td>\n<td>JOB_NAME<\/td>\n<td>The name of the&nbsp;<strong>original<\/strong>&nbsp;Jenkins job that is involved with the promotion. JOB_NAME now refers to the Promotion&#8217;s job&#8217;s name<\/td>\n<\/tr>\n<tr>\n<td>PROMOTED_NUMBER<\/td>\n<td>BUILD_NUMBER<\/td>\n<td>The Build Number of the job being promoted. BUILD_NUMBER now refer&#8217;s the the Promotion Number<\/td>\n<\/tr>\n<tr>\n<td>PROMOTED_ID<\/td>\n<td>BUILD_ID<\/td>\n<td>The Build ID (ex. &#8220;2005-08-22_23-59-59&#8221; (YYYY-MM-DD_hh-mm-ss) ) of the&nbsp;<strong>original<\/strong>&nbsp;Jenkins job. BUILD_ID now refer&#8217;s to the Promotion&#8217;s build ID.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h1>System Properties<\/h1>\n<table>\n<tbody>\n<tr>\n<th><a href=\"http:\/\/54.154.154.23:8080\/systemInfo\">Name&nbsp;&nbsp;\u2193<\/a><\/th>\n<th><a href=\"http:\/\/54.154.154.23:8080\/systemInfo\">Value&nbsp;&nbsp;&nbsp;<\/a><\/th>\n<\/tr>\n<tr>\n<td>awt.toolkit<\/td>\n<td>sun.awt.X11.XToolkit<\/td>\n<\/tr>\n<tr>\n<td>com.sun.akuma.Daemon<\/td>\n<td>daemonized<\/td>\n<\/tr>\n<tr>\n<td>executable-war<\/td>\n<td>\/usr\/lib\/jenkins\/jenkins.war<\/td>\n<\/tr>\n<tr>\n<td>file.encoding<\/td>\n<td>UTF-8<\/td>\n<\/tr>\n<tr>\n<td>file.encoding.pkg<\/td>\n<td>sun.io<\/td>\n<\/tr>\n<tr>\n<td>file.separator<\/td>\n<td>\/<\/td>\n<\/tr>\n<tr>\n<td>java.awt.graphicsenv<\/td>\n<td>sun.awt.X11GraphicsEnvironment<\/td>\n<\/tr>\n<tr>\n<td>java.awt.headless<\/td>\n<td>true<\/td>\n<\/tr>\n<tr>\n<td>java.awt.printerjob<\/td>\n<td>sun.print.PSPrinterJob<\/td>\n<\/tr>\n<tr>\n<td>java.class.path<\/td>\n<td>\/usr\/lib\/jenkins\/jenkins.war<\/td>\n<\/tr>\n<tr>\n<td>java.class.version<\/td>\n<td>52.0<\/td>\n<\/tr>\n<tr>\n<td>java.endorsed.dirs<\/td>\n<td>\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/lib\/endorsed<\/td>\n<\/tr>\n<tr>\n<td>java.ext.dirs<\/td>\n<td>\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/lib\/ext:\/usr\/java\/packages\/lib\/ext<\/td>\n<\/tr>\n<tr>\n<td>java.home<\/td>\n<td>\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre<\/td>\n<\/tr>\n<tr>\n<td>java.io.tmpdir<\/td>\n<td>\/tmp<\/td>\n<\/tr>\n<tr>\n<td>java.library.path<\/td>\n<td>\/usr\/java\/packages\/lib\/amd64:\/usr\/lib64:\/lib64:\/lib:\/usr\/lib<\/td>\n<\/tr>\n<tr>\n<td>java.runtime.name<\/td>\n<td>OpenJDK Runtime Environment<\/td>\n<\/tr>\n<tr>\n<td>java.runtime.version<\/td>\n<td>1.8.0_111-b15<\/td>\n<\/tr>\n<tr>\n<td>java.specification.name<\/td>\n<td>Java Platform API Specification<\/td>\n<\/tr>\n<tr>\n<td>java.specification.vendor<\/td>\n<td>Oracle Corporation<\/td>\n<\/tr>\n<tr>\n<td>java.specification.version<\/td>\n<td>1.8<\/td>\n<\/tr>\n<tr>\n<td>java.vendor<\/td>\n<td>Oracle Corporation<\/td>\n<\/tr>\n<tr>\n<td>java.vendor.url<\/td>\n<td>http:\/\/java.oracle.com\/<\/td>\n<\/tr>\n<tr>\n<td>java.vendor.url.bug<\/td>\n<td>http:\/\/bugreport.sun.com\/bugreport\/<\/td>\n<\/tr>\n<tr>\n<td>java.version<\/td>\n<td>1.8.0_111<\/td>\n<\/tr>\n<tr>\n<td>java.vm.info<\/td>\n<td>mixed mode<\/td>\n<\/tr>\n<tr>\n<td>java.vm.name<\/td>\n<td>OpenJDK 64-Bit Server VM<\/td>\n<\/tr>\n<tr>\n<td>java.vm.specification.name<\/td>\n<td>Java Virtual Machine Specification<\/td>\n<\/tr>\n<tr>\n<td>java.vm.specification.vendor<\/td>\n<td>Oracle Corporation<\/td>\n<\/tr>\n<tr>\n<td>java.vm.specification.version<\/td>\n<td>1.8<\/td>\n<\/tr>\n<tr>\n<td>java.vm.vendor<\/td>\n<td>Oracle Corporation<\/td>\n<\/tr>\n<tr>\n<td>java.vm.version<\/td>\n<td>25.111-b15<\/td>\n<\/tr>\n<tr>\n<td>JENKINS_HOME<\/td>\n<td>\/var\/lib\/jenkins<\/td>\n<\/tr>\n<tr>\n<td>jna.loaded<\/td>\n<td>true<\/td>\n<\/tr>\n<tr>\n<td>jna.platform.library.path<\/td>\n<td>\/usr\/lib64:\/lib64:\/usr\/lib:\/lib:\/usr\/lib64\/mysql<\/td>\n<\/tr>\n<tr>\n<td>jnidispatch.path<\/td>\n<td>\/tmp\/jna&#8211;1712433994\/jna4147775405825940943.tmp<\/td>\n<\/tr>\n<tr>\n<td>line.separator<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>mail.smtp.sendpartial<\/td>\n<td>true<\/td>\n<\/tr>\n<tr>\n<td>mail.smtps.sendpartial<\/td>\n<td>true<\/td>\n<\/tr>\n<tr>\n<td>os.arch<\/td>\n<td>amd64<\/td>\n<\/tr>\n<tr>\n<td>os.name<\/td>\n<td>Linux<\/td>\n<\/tr>\n<tr>\n<td>os.version<\/td>\n<td>3.10.0-514.el7.x86_64<\/td>\n<\/tr>\n<tr>\n<td>path.separator<\/td>\n<td>:<\/td>\n<\/tr>\n<tr>\n<td>sun.arch.data.model<\/td>\n<td>64<\/td>\n<\/tr>\n<tr>\n<td>sun.boot.class.path<\/td>\n<td>\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/lib\/resources.jar:\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/lib\/rt.jar:\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/lib\/sunrsasign.jar:\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/lib\/jsse.jar:\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/lib\/jce.jar:\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/lib\/charsets.jar:\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/lib\/jfr.jar:\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/classes<\/td>\n<\/tr>\n<tr>\n<td>sun.boot.library.path<\/td>\n<td>\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\/jre\/lib\/amd64<\/td>\n<\/tr>\n<tr>\n<td>sun.cpu.endian<\/td>\n<td>little<\/td>\n<\/tr>\n<tr>\n<td>sun.cpu.isalist<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>sun.font.fontmanager<\/td>\n<td>sun.awt.X11FontManager<\/td>\n<\/tr>\n<tr>\n<td>sun.io.unicode.encoding<\/td>\n<td>UnicodeLittle<\/td>\n<\/tr>\n<tr>\n<td>sun.java.command<\/td>\n<td>\/usr\/lib\/jenkins\/jenkins.war&nbsp;&#8211;logfile=\/var\/log\/jenkins\/jenkins.log&nbsp;&#8211;webroot=\/var\/cache\/jenkins\/war&nbsp;&#8211;daemon&nbsp;&#8211;httpPort=8080&nbsp;&#8211;debug=5&nbsp;&#8211;handlerCountMax=100&nbsp;&#8211;handlerCountMaxIdle=20<\/td>\n<\/tr>\n<tr>\n<td>sun.java.launcher<\/td>\n<td>SUN_STANDARD<\/td>\n<\/tr>\n<tr>\n<td>sun.jnu.encoding<\/td>\n<td>UTF-8<\/td>\n<\/tr>\n<tr>\n<td>sun.management.compiler<\/td>\n<td>HotSpot 64-Bit Tiered Compilers<\/td>\n<\/tr>\n<tr>\n<td>sun.os.patch.level<\/td>\n<td>unknown<\/td>\n<\/tr>\n<tr>\n<td>svnkit.http.methods<\/td>\n<td>Digest,Basic,NTLM,Negotiate<\/td>\n<\/tr>\n<tr>\n<td>svnkit.ssh2.persistent<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>user.country<\/td>\n<td>US<\/td>\n<\/tr>\n<tr>\n<td>user.dir<\/td>\n<td>\/<\/td>\n<\/tr>\n<tr>\n<td>user.home<\/td>\n<td>\/var\/lib\/jenkins<\/td>\n<\/tr>\n<tr>\n<td>user.language<\/td>\n<td>en<\/td>\n<\/tr>\n<tr>\n<td>user.name<\/td>\n<td>jenkins<\/td>\n<\/tr>\n<tr>\n<td>user.timezone<\/td>\n<td>America\/New_York<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>Environment Variables<\/h1>\n<table>\n<tbody>\n<tr>\n<th><a href=\"http:\/\/54.154.154.23:8080\/systemInfo\">Name&nbsp;&nbsp;\u2193<\/a><\/th>\n<th><a href=\"http:\/\/54.154.154.23:8080\/systemInfo\">Value&nbsp;&nbsp;&nbsp;<\/a><\/th>\n<\/tr>\n<tr>\n<td>_<\/td>\n<td>\/etc\/alternatives\/java<\/td>\n<\/tr>\n<tr>\n<td>HOME<\/td>\n<td>\/var\/lib\/jenkins<\/td>\n<\/tr>\n<tr>\n<td>LANG<\/td>\n<td>en_US.UTF-8<\/td>\n<\/tr>\n<tr>\n<td>LOGNAME<\/td>\n<td>jenkins<\/td>\n<\/tr>\n<tr>\n<td>NLSPATH<\/td>\n<td>\/usr\/dt\/lib\/nls\/msg\/%L\/%N.cat<\/td>\n<\/tr>\n<tr>\n<td>PATH<\/td>\n<td>\/sbin:\/usr\/sbin:\/bin:\/usr\/bin<\/td>\n<\/tr>\n<tr>\n<td>PWD<\/td>\n<td>\/<\/td>\n<\/tr>\n<tr>\n<td>SHELL<\/td>\n<td>\/bin\/bash<\/td>\n<\/tr>\n<tr>\n<td>SHLVL<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>USER<\/td>\n<td>jenkins<\/td>\n<\/tr>\n<tr>\n<td>XFILESEARCHPATH<\/td>\n<td>\/usr\/dt\/app-defaults\/%L\/Dt<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>Plugins<\/h1>\n<table>\n<tbody>\n<tr>\n<th><a href=\"http:\/\/54.154.154.23:8080\/systemInfo\">Name&nbsp;&nbsp;\u2193<\/a><\/th>\n<th><a href=\"http:\/\/54.154.154.23:8080\/systemInfo\">Version&nbsp;&nbsp;&nbsp;<\/a><\/th>\n<th><a href=\"http:\/\/54.154.154.23:8080\/systemInfo\">Enabled&nbsp;&nbsp;&nbsp;<\/a><\/th>\n<th><a href=\"http:\/\/54.154.154.23:8080\/systemInfo\">Pinned&nbsp;&nbsp;&nbsp;<\/a><\/th>\n<\/tr>\n<tr>\n<td>ace-editor<\/td>\n<td>1.1<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>ant<\/td>\n<td>1.4<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>antisamy-markup-formatter<\/td>\n<td>1.5<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>bouncycastle-api<\/td>\n<td>2.16.0<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>branch-api<\/td>\n<td>1.11.1<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>build-timeout<\/td>\n<td>1.18<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>cloudbees-folder<\/td>\n<td>5.16<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>credentials<\/td>\n<td>2.1.10<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>credentials-binding<\/td>\n<td>1.10<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>display-url-api<\/td>\n<td>0.5<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>durable-task<\/td>\n<td>1.12<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>email-ext<\/td>\n<td>2.53<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>external-monitor-job<\/td>\n<td>1.7<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>git<\/td>\n<td>3.0.1<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>git-client<\/td>\n<td>2.2.0<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>git-server<\/td>\n<td>1.7<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>github<\/td>\n<td>1.25.1<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>github-api<\/td>\n<td>1.84<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>github-branch-source<\/td>\n<td>1.10.1<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>github-organization-folder<\/td>\n<td>1.5<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>gradle<\/td>\n<td>1.25<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>handlebars<\/td>\n<td>1.1.1<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>icon-shim<\/td>\n<td>2.0.3<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>jacoco<\/td>\n<td>2.1.0<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>javadoc<\/td>\n<td>1.4<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>jira<\/td>\n<td>2.3<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>jobConfigHistory<\/td>\n<td>2.15<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>jquery<\/td>\n<td>1.11.2-0<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>jquery-detached<\/td>\n<td>1.2.1<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>junit<\/td>\n<td>1.19<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>ldap<\/td>\n<td>1.13<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>mailer<\/td>\n<td>1.18<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>mapdb-api<\/td>\n<td>1.0.9.0<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>matrix-auth<\/td>\n<td>1.4<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>matrix-project<\/td>\n<td>1.8<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>maven-plugin<\/td>\n<td>2.14<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>momentjs<\/td>\n<td>1.1.1<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>pam-auth<\/td>\n<td>1.3<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>pipeline-build-step<\/td>\n<td>2.4<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>pipeline-graph-analysis<\/td>\n<td>1.3<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>pipeline-input-step<\/td>\n<td>2.5<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>pipeline-milestone-step<\/td>\n<td>1.3<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>pipeline-rest-api<\/td>\n<td>2.4<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>pipeline-stage-step<\/td>\n<td>2.2<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>pipeline-stage-view<\/td>\n<td>2.4<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>plain-credentials<\/td>\n<td>1.3<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>resource-disposer<\/td>\n<td>0.3<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>scm-api<\/td>\n<td>1.3<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>script-security<\/td>\n<td>1.25<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>sonar<\/td>\n<td>2.5<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>ssh-credentials<\/td>\n<td>1.12<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>ssh-slaves<\/td>\n<td>1.12<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>structs<\/td>\n<td>1.5<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>subversion<\/td>\n<td>2.7.1<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>thinBackup<\/td>\n<td>1.9<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>timestamper<\/td>\n<td>1.8.7<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>token-macro<\/td>\n<td>2.0<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>windows-slaves<\/td>\n<td>1.2<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-aggregator<\/td>\n<td>2.4<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-api<\/td>\n<td>2.8<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-basic-steps<\/td>\n<td>2.3<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-cps<\/td>\n<td>2.23<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-cps-global-lib<\/td>\n<td>2.5<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-durable-task-step<\/td>\n<td>2.7<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-job<\/td>\n<td>2.9<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-multibranch<\/td>\n<td>2.9.2<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-scm-step<\/td>\n<td>2.3<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-step-api<\/td>\n<td>2.7<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>workflow-support<\/td>\n<td>2.12<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<tr>\n<td>ws-cleanup<\/td>\n<td>0.32<\/td>\n<td>true<\/td>\n<td>false<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Useful Plugins<\/strong><\/p>\n<p><a href=\"https:\/\/wiki.jenkins-ci.org\/display\/JENKINS\/EnvInject+Plugin\" target=\"_blank\" rel=\"noopener\">https:\/\/wiki.jenkins-ci.org\/display\/JENKINS\/EnvInject+Plugin<\/a><\/p>\n<p><strong>Reference<\/strong><\/p>\n<p><a href=\"https:\/\/wiki.jenkins-ci.org\/display\/JENKINS\/Building+a+software+project\" target=\"_blank\" rel=\"noopener\">https:\/\/wiki.jenkins-ci.org\/display\/JENKINS\/Building+a+software+project<\/a><br>\n<a href=\"http:\/\/jenkins:8080\/systemInfo\" target=\"_blank\" rel=\"noopener\">http:\/\/jenkins:8080\/systemInfo<\/a><\/p>\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_47485\"><figure class=\"wp-block-embed wp-block-embed-youtube is-type-video is-provider-youtube epyt-figure\"><div class=\"wp-block-embed__wrapper\"><iframe loading=\"lazy\"  id=\"_ytid_45095\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_47485\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div><\/figure><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Environment variables and properties defined in jenkins Jenkins Set Environment Variables When a Jenkins job executes, it sets some environment variables that you may use in your shell script, batch command, Ant script or Maven POM&nbsp;1. The following table contains a list of all of these environment variables. Environment Variable Description BUILD_NUMBER The current build&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3018,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[42],"tags":[1072,1074,145,1075,822,1076,1073,317],"class_list":["post-506","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jenkins","tag-environment","tag-environment-variables","tag-jenkins","tag-jenkins-set-environment-variables","tag-jenkins-tutorial","tag-plugins","tag-properties","tag-variables"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=506"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/506\/revisions"}],"predecessor-version":[{"id":25775,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/506\/revisions\/25775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/3018"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}