1.

Name a Jenkins environment variable you have used in a shell script or batch file.

Answer»

The Jenkins environment variables frequently prove to be useful when you have to keep in touch with some advanced shell contents. Moreover, in the event that you REALIZE how to infuse environment variables into the Jenkins build process, it can open up a totally different universe of specialized CHANCES, as it'll give you access to a portion of the product's internals.

A SIMPLE method to get the Jenkins environment variables LIST from your local installation is to annex env-vars.html to the server's URL. For a privately facilitated Jenkins server, the URL would be http://localhost:8080/env-vars.html. 

The least demanding approach to perceive how these Jenkins environment variables work is to make a freestyle job, reverberation every section in the rundown and see the value Jenkins relegates to every property. By default, few environment variables are always available in Build Job.  Some of them are available only when a RELEVANT plug-in is configured in Jenkin set up some GIT related variables are available when GIT plugin gets configured.



Discussion

No Comment Found