Any idea where we can find the Nexus 3 REST API documentation? Or can we configure Nexus using Groovy script like we do in Jenkins?
In Jenkins we can use Jenkins cli jar to configure Jenkins. In older version of Nexus there is REST API documentation to manage Nexus.
It's extraordinarily incomplete, but there are some "examples".
It seems that the client is relatively useful, per the examples.
In addition to the documentation linked above, you can query https://your_nexus_url/service/rest/swagger.json, which at least documents the available parameters.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With