sorry for the delay, i got tied up with workarounds but this continues to be an 
issue.

My goal is to load some custom jars into Jenkins so I am mounting this 
directory already. 

When i use docker-compose 

I have to do something like 
docker-compose run -d --commonLibFolder={libDirectoryLocation} << This works 
perfectly

I looked into this a bit and jenkins sets this as sun.java.command, so in the 
jenkins  system information page , i can see 
sun.java.command        /usr/share/jenkins/jenkins.war 
--commonLibLocation={libDirectoryLocation}

I am trying to find an alternate way to do this, so that i don't have to type 
in such a big command (one of the purposes of docker compose)

I have tried a few things
 - Environment variables(sun.java.command) - This creates a second entry and 
does not work
 - JENKINS_OPTS , JENKINS_ARGS (i have used this approach outside docker to 
customize classpath)

Nothing seems to work, i am sure i am am missing something but i can't figure 
out what..


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6a9c7631-0edd-4e04-a959-d556e4871a44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to