Reputation: 8314
I have Maven build projects in a local Hudson instance that I would like to port to CloudBees. Install4j runs as an executable on the host system. In my experience, this includes an installer and registering the license key via the install4j UI.
How do I configure install4j so that I can run this build in the headless CloudBees environment?
Upvotes: 1
Views: 755
Reputation: 8314
I have been able to set this up, and it is very straight-forward.
CloudBees runs on Linux, so extract and upload the Linux TAR.GZ version of install4j to your private repository.
HINT: via FTP => https://{username}@repository-{account}.forge.cloudbees.com/private
This directory is accessible from all build projects via the path: /private/{account}
If you don't already have one, you'll need to create a settings.xml file in the same private repository.
Further reading on how to create a settings.xml: How do I deploy to private Maven repo from CloudBees?
You'll need to add the "install4j.home" and "install4j.licenseKey" properties to a profile in your settings.xml file according to the Sonatype Documentation*.
HINT: "install4j.home" is something like "/private/{account}/install4j5"
Again, following the Sonatype Documentation*, update your project's pom.xml with the necessary build steps.
http://sonatype.github.com/install4j-support/install4j-maven-plugin/
Upvotes: 2