Variable Name | Variable Type | Comments |
---|---|---|
log | Writes to Artifactory log logger name is the name of the script file | |
repositories | Allows queries and operations on repositories and artifacts | |
security | Provides information about current security context, (e.g., current user and their permissions) | |
searches | API for searching for artifacts and builds Since 2.3.4 | |
builds | Allows CRUD operations on builds Since 2.6 |
Closure Variables
Note! Declaring your own closure variables using the Groovy 'def ' keyword is considered best practice. Avoiding the "def" keyword is risky in terms of variable scoping, and will result in the variable being scoped globally, making it accessible from other closure executions.
Plugins Repository
Enhancing Artifactory with user plugins is community-driven effort.
If you are looking to go beyond Artifactory's out-of-the-box functionality take a look at already contributed plugins on GitHub, you might find what you are thinking about. If not, your contribution is very welcome!