Loading JenkinsRule from pre-defined xml files?

32 views
Skip to first unread message

Michael Carter

unread,
Oct 7, 2020, 10:01:02 AM10/7/20
to Jenkins Developers
Any docs on how to get something like this working? 

    @LocalData("Jenkins-Enabled")
    @ClassRule public static JenkinsRule jenkinsRule = new JenkinsRule();

Basically, I want to only start one server for this test, and I want to use the same shared config.xml and data.

Tim Jacomb

unread,
Oct 7, 2020, 11:28:00 AM10/7/20
to Jenkins Developers

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/914895a3-f12d-4660-8e0c-712c92a3f3c6n%40googlegroups.com.

Jesse Glick

unread,
Oct 7, 2020, 3:20:21 PM10/7/20
to Jenkins Dev
Just merge everything into one `@Test`. You can use `@Rule
ErrorCollector` to produce multiple independent results for clarity.
Reply all
Reply to author
Forward
0 new messages