WAR file includes system properties and Groovy hooks, so it may configure itself on startup. It allows the custom configuration to be transparently used with existing tests.
I have created two examples for the tool:
How would that work with JTH tests as run via PCT, since these will only pick up a Jenkins WAR from the local Maven repository
We could introduce a new system property or environment variable pointing to a custom WAR file
path for `WarExploder` to use, perhaps.
Yes it does, but that has no direct effect on the file which is loaded by `WarExploder`. The actual test runs will go back to the local Maven repository for a `jenkins-war` artifact with the specified version number
All of them would need to locally build the war file or share the local maven repo or something similar...
So I would say that adding the ability to set the location of the file to be loaded by `WarExploder` is going to be a real need if we want this to be in production
Sorry for being late to this...I agree with the proposed approach, the only thing that concerns me is that it seems you need to build the custom war locally so is installed on your local repo, now what happens with CI jobs that execute the PCT in parallel? All of them would need to locally build the war file or share the local maven repo or something similar...So I would say that adding the ability to set the location of the file to be loaded by `WarExploder` is going to be a real need if we want this to be in productionRegards, Raul
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/21c59a4e-9f92-4b27-934a-fbbb5e396bdb%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/ySjSak-m8u0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.