| project_name | name of current project |
| project_path | path of current project |
| job_name | name of current job |
| ref | git ref the job is running against. For instance:- if job runs against branch main, this value will be refs/heads/main
- if job runs against tag v1, this value will be refs/tags/v1
|
| branch | git branch this job is running against. This variable will be empty if job is not running against a branch |
| tag | git tag this job is running against. This variable will be empty if job is not running against a tag |
| commit_hash | git commit hash this job is running against |
| build_number | serial number of generated build which can be used to reference the build |
| build_version | version of generated build specified via step Set Build Version |
| pull_request_number | serial number of the pull request triggering the job as result of pull request open/update |
| param:<parameter name> | value of specified job parameter spec |
| property:<property name> | value of specified build spec property |
| secret:<secret name> | value of specified secret |
| script:builtin:<script name> | run specified builtin groovy script and get the result |
| script:<script name> | run specified custom groovy script and get the result |