Unit testing of Jenkins pipeline code with Spock
Stars
147
Forks
65
Watchers
147
Open Issues
12
Overall repository health assessment
No package.json found
This might not be a Node.js project
Added another library example with multiple params and unit test
4b0afe2View on GitHubAdded an example pipeline and unit test to demonstrate / look into a JenkinsPipelineUnit callstack issue recording variables passed to steps in the callstack output.
2de86e4View on GitHubUpdate the parallel job example for Pipeline Model Definition Plugin v1.2 parallel stages and added test support for that. Main Jenkinsfile now creates JUnit report.
5a1e301View on GitHub(1) Added example pipeline with parallel sections and unit test for it, (2) updated Jenkinsfile that runs the CI of the tests to also validate the declarative pipelines in Jenkins before the unit tests are run. The tests pass, let us see if it runs in Jenkins...
63aafcbView on GitHubUpdate sample to pass -Dpipeline.stack.write to tests and add simple .gitignore file
3418be9View on GitHubUpdated to latest JenkinsPipelineUnit v1.1 and fixed tests due to changed behaviour so they now work. Some anomaly with shell command intercept that needs understanding.
52eae83View on GitHubUpdated to latest JenkinsPipelineUnit and updated other dependencies in Gradle project. Added example of a regression tests for the complete Jenkinsfile pipeline tests output using the Spock test.
81f422bView on GitHub