Hi Gabor,
you can update the etc/system.properties of the child instance where you
define the environment entry.
Regards
JB
On 06/12/2015 10:17 AM, Gábor Lipták wrote:
Hi,
I have a problem (see http://stackoverflow.com/q/30791369/337621):
I am testing a clustering solution for Felix with Pax Exam and Karaf
(see
http://planet.jboss.org/post/advanced_integration_testing_with_pax_exam_karaf).
I start up several Karaf instances and play with them in the test.
If I want to be sure that the Karaf instances will be stopped in Jenkins
when my test is aborted for some reason then I need to set some
environment entries for the forked containers (see How to fork a
background process in Jenkins? Setting BUILD_ID and using nohup seems to
be non working) Is there a way to do so? I can set system properties
with the admin:create command option called --java-opts but I cannot set
any environment entry for the forked process. Do you know any way or
trick to set them?
Any help appreciated. Do you think this is a good improvement for the
admin service? Should I create a JIRA for it?
Regards,
Gábor Lipták
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com