Jenkins build number: accessing from called Java program
<p>How can I access the Jenkins build number and job path from the called Java program into this program?</p>

<p>Background: during the Java program runs, I want to create a dynamic link with this program (<code>pathtothecurrentbuild/log</code>) to the log file of the current run as an information for the admins in case of trouble.</p>