The question is in the title
I know about BUILD_NAME
and BUILD_ID
and BUILD_TAG
and I have seen somewhere a list of properties, but I can't find it anymore.
There is
env
as bash script in a build step to find out which additional variables are inherited on your system:To view available env vars in your case (since they also depend on installed plugins) just go to this URL:
https://<your-jenkins>/env-vars.html
Replace https://<your-jenkins>/
with how you used to access your Jenkins (it can be, just for instance
http://localhost:8080/env-vars.html
or
https://linux-jenkins-1:8443/env-vars.html
).