title: Setting environment variables for Jenkins slaves
body: <p>New to jenkins and looking to create a job. I need to use the IP of my Jenkins Instance in part of my Java Code. Is there an existing environment variable that I can use or do I have to add one myself? If so, how exactly can I do this? The slaves are ec2 instances. I looked at some similar questions posted here but it seems they are talking about the master rather than the slaves. Thanks!</p>
  
  <p>EDIT: To confirm, external requests will be sent to the IP that I set in my Java code</p>