Skeleton for Jenkins Pipeline based Jenkins CI/CD automation projects.
Allows to quickly bootstrap Gradle project ready to create and test scripted Jenkins pipelines and shared libraries.
Starter contains code samples that showcase how to create and test Jenkins pipelines as well as allow to test updates (e.g. Jenkins, plugins).
- remove Jenkinsfiles
- remove code from main sources
- remove shared library code from vars
- remove tests from com.twitter.kszdev.jenkins.pipeline.jenkinsfile package
- remove tests from com.twitter.kszdev.jenkins.pipeline.sharedlib package
- remove test resources
- remove or update README file
- rename packages in test sources
- update list of plugins available in tests
- update registered allowed methods in tests
- update Jenkinsfiles' references in tests
|-- build.gradle - project build script
|-- jenkins_plugins.gradle - defines Jenkins plugins available in tests
|-- gdsl - contains GroovyDSL scripts that enable DSLs support in IntelliJ IDEA
|-- jenkinsfiles - contains Jenkinsfiles
|-- src
| |-- test - contains pipelines and shared library tests
|-- vars - contains shared library global variables and custom steps
Skeleton for Job DSL based Jenkins CI/CD automation projects can be found in jenkins-jobdsl-automation-starter.