Skip to main content

Jenkins system environment variable

Jenkins build tool create several environment variables before job begins. This list is useful for building email templates and build steps. Here are some of the variables:



BASE=D:\jenkins
BUILD_ID=2011-08-03_13-36-43
BUILD_NUMBER=38
BUILD_TAG=jenkins-RDE_Deploy_new_artifacts-38
BUILD_URL=http://mydwbld0014.isr.hp.com:8888/job/RDE_Deploy_new_artifacts/38/
COPYARTIFACT_BUILD_NUMBER_RDE_COMPILE_OTA_AND_OTA_INTEGRATION_TESTS=9
COPYARTIFACT_BUILD_NUMBER_RDE_COMPILE_SERVER=34
EXECUTOR_NUMBER=3
HUDSON_COOKIE=00e98c35-cb73-4720-b652-d59d31225165
HUDSON_HOME=D:\jenkins
HUDSON_SERVER_COOKIE=fc397c78f6e8173566bdae8332e98594
HUDSON_URL=http://mydwbld0014.isr.hp.com:8888/
JENKINS_HOME=D:\jenkins
JENKINS_SERVER_COOKIE=fc397c78f6e8173566bdae8332e98594
JENKINS_URL=http://mydwbld0014.isr.hp.com:8888/
JOB_NAME=RDE_Deploy_new_artifacts
JOB_URL=http://mydwbld0014.isr.hp.com:8888/job/RDE_Deploy_new_artifacts/
NODE_LABELS=master
NODE_NAME=master
WORKSPACE=D:\jenkins\jobs\RDE_Deploy_new_artifacts\workspace

Other useful variables:

COMPUTERNAME=MYDWBLD0014
OS=Windows_NT
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 26 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1a05
JAVA_HOME=C:\jdk1.6.0_17
JAVA_INSTALLED_DIRECTORY=C:\jdk1.6.0_17\bin

Comments

Popular posts from this blog

Jenkins error: groovy.lang.MissingPropertyException

I tried to run groovy build step and got below error. This post will describe how I solved the problem.

Caught: groovy.lang.MissingPropertyException: No such property: hudson for class: script


What is PKI

PKI = Public Key Infrastructure
(Resource) Method of asserting the identity and validity of a person (or entity) that you have not previously met or interacted.

It use of certificates containing identifying information and public keys (these certificates are more properly called X.509 certificates).

PKI accomplishes this by defining a central authority who is mutually trusted by all users of the system.