Re: Junit test : seed job to maven Job DSL

2020-12-17 Thread Charles Moulliard
FYI: I can, of course, create the job and build it using the `config.xml` generated on a jenkins instance running locally -> `java -jar jenkins-cli.jar -s http://localhost:8080 create-job maven-seed-job2 < seed-maven-job2.xml` So I suspect a problem with the Job DSL Plugin when the job build is

Junit test : seed job to maven Job DSL

2020-12-17 Thread Charles Moulliard
Hi I created a Junit test case which is available here: https://github.com/ch007m/jenkins-job-dsl/blob/31efa049a95c333a8dba9b01ff2aa281b3520e34/src/test/java/dev/snowdrop/MavenJobDSLTest.java#L25-L53 where a seed job is created to populate a mavenJob using the DSL groovy file provided But