Is there any way to upload Artifacts to the Apache ACE server without Web UI?

53 Views Asked by At

We are working on an enterprise system writed by Java. And we use an Apache ACE server to deploy the OSGi bundles, a Jenkins as CI server. When we want to update a bundle, we make a jar file in Eclipse, and upload it to ACE server through Web UI. When we want to release a new version, we must upload all bundles through Web UI. I think that is foolish. I think there must be a simple way just like when I finish coding, then I can do something just in Elipse to upload the bundle to the ACE server. When we release a version, the Jenkins should also update all of the bundles to ACE server itself.

1

There are 1 best solutions below

1
On

Certainly, you basically have two options if you want to automate things:

  1. Use the REST based interface to talk to ACE.
  2. Use the shell based interface to script to ACE.

Both are explained on the website, so for more detailed steps refer to:

  1. http://ace.apache.org/docs/rest-api.html
  2. http://ace.apache.org/docs/shell-api.html