Skip to content

lotharschulz/job-dsl-gradle-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Jenkins Job DSL Gradle Example

An example Job DSL project that uses Gradle for building and testing.

File structure

.
├── jobs              # DSL script files
├── src
│   └── main
│       └── groovy    # support classes
│   └── test
│       └── groovy    # specs
└── build.gradle      # build file

Commands

  • ./gradlew test runs the specs.

Seed job configuration settings

  • Invoke Gradle script → Use Gradle Wrapper: true
  • Invoke Gradle script → Tasks: clean test
  • Process Job DSLs → DSL Scripts: jobs/**/*.groovy
  • Process Job DSLs → Additional classpath: src/main/groovy
  • Publish JUnit test result report → Test report XMLs: build/test-results/**/*.xml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 100.0%