Skip to content

jenkins-infra/acceptance-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Jenkins infrastructure acceptance tests

This repository contains branches which act as acceptance tests for the Jenkins projects infrastructure.

How this repository works

This repository uses the Multibranch Pipeline support in Jenkins to treat each branch as its own Pipeline project. This is a pattern developed by Mark Waite for running acceptance tests for the git-plugin within Jenkins.

This means that each acceptance test case is a different branch in this repository.

Creating a test case

  1. Create a new empty branch: git checkout --orphan name-of-my-new-test-case

  2. Remove the files sitting around in the current working directory: rm -rf *

  3. Reset the git staging area: git reset --hard

  4. Create a Jenkinsfile and README.adoc

  5. Implement your test(s)

  6. Add your changes: git add Jenkinsfile README.adoc and commit.

About

Infrastructure acceptance testing.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published