-
Download the JCE extension from http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
-
Upload the files inside the archive to your private repository on Cloudbees forge ( /private/jce/ ) so that you have /private/jce/local_policy.jar,...
-
On the Jenkins configuration page ([https://YourAccountName.ci.cloudbees.com/configure](https://.ci.cloudbees.com/configure) (use your real account name / subdomain) create a new JDK Installation and set JAVA_HOME to
$HOME/openjdk6.unlimited
(or any other version you want to use). -
Add a Pre Step and add the following shell script. First, it copies the JDK version you are using to your home folder. Second, it patches your copy - this should copy local_policy.jar and US_export_policy.jar. Be sure to use your real account name / subdomain.
if [[ ! -d $HOME/openjdk6.unlimited ]] then cp -Lr /opt/jdk/openjdk6.latest/ $HOME/openjdk6.unlimited cp -f /private/YourAccountName/jce/* $HOME/openjdk6.unlimited/jre/lib/security/ fi
Last active
December 10, 2015 22:48
-
-
Save xeraa/4504389 to your computer and use it in GitHub Desktop.
Using JCE in Cloudbee's Jenkins Builds
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment