No description, website, or topics provided.
Groovy
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 133 commits behind sheehan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
jobs
src
.gitignore
README.md
build.gradle
gradlew
gradlew.bat

README.md

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