Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
Pull request Compare This branch is even with modalkonform:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
deploy/jenkins_templates
gradle/wrapper
src
.gitignore
README.md
build.gradle
gradlew
gradlew.bat
jenkins.gradle

README.md

Cucumber-Gradle-Blueprint

Blueprint project to demonstrate the source code based generation of Jenkins jobs and views via a Gradle task. The jobs are thought to trigger the (repeated) execution of Cucumber features and monitor the results. The job names are generated out of the feature file names, the execution environment (e.g. prod, uat) and cucumber tags (e.g. smoke) contained in the feature files. For each env and tag combination (e.g. 'smoke.uat' or 'untagged.prod') a view and a multijob is created. A multijob is a parent (or upstream) job which comprises all child (or downstream) jobs which correspond to the tag/env - specification.

Setup

Usage

create and/or update jobs/views on your Jenkins server

./gradlew updateJenkinsItems -Pjenkins_user=gradle -Pjenkins_pass=<password>

remove all items on server

./gradlew deleteJenkinsItems -Pjenkins_user=gradle -Pjenkins_pass=<password>

check which project job/view configuration differs from the server version

./gradlew validateJenkinsItems -Pjenkins_user=gradle -Pjenkins_pass=<password>

run all cucumber features

./gradlew cucumber
You can’t perform that action at this time.