Smooth Groovy Scripting, and Sharp pointy bits

Have you ever needed to automate some process in Nexus 3, and there wasn’t an existing scheduled task or REST API available to do what you needed?

You could write a custom Groovy script using the Script API to get the job done. If you choose this approach, the following knowledge base article shows how to setup an IDE to assist in writing groovy scripts: Nexus 3 Groovy Script development environment setup. That’s the “smooth” part.

The nasty, dangerous, “with great power comes great responsibility” info is here: Groovy: Close those transactions, or else…

1 Like

See a few examples of Advanced Use Cases for the Nexus Repository Manager API

1 Like