Closed aris-vlasakakis-ck closed 6 years ago
running against a local installation with username and password, the gradle tasks completes with no errors, and it doesn't work.
This is to create the seed job from your job-dsl-gradle-examples repository
Example:
$ ./gradlew rest -Dpattern="jobs/seed.groovy" -DbaseUrl="http://127.0.0.1:8080" -Dusername=admin -Dpassword=admin :compileJava NO-SOURCE :compileGroovy UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :rest BUILD SUCCESSFUL Total time: 1.552 secs
...and nothing happened in the Jenkins installation as well!
Hi @aris-vlasakakis-ck. It should be -Dpattern="src/jobs/seed.groovy"
-Dpattern="src/jobs/seed.groovy"
running against a local installation with username and password, the gradle tasks completes with no errors, and it doesn't work.
This is to create the seed job from your job-dsl-gradle-examples repository
Example:
...and nothing happened in the Jenkins installation as well!