Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Jenkins + Spock Examples

Here are some example projects that use Jenkins Pipeline code in different ways and show off how to write unit tests for that code using jenkins-spock.

These example repositories work as much as possible, but their Jenkins pipelines and "deploy application" logic are made-up and won't actually run or deploy anything to anywhere.

Integration Tests

Some of these example projects are actually run as integration tests during the build of jenkins-spock.

Check the fixup-integration-test-projects execution of the maven-invoker-plugin in the it Maven profile in the pom.xml to see which examples are used as integration tests.