Skip to content

Test and deploy Jenkins pipelines right form the Jenkins

License

Notifications You must be signed in to change notification settings

stchar/pipeline-dsl-seed

Repository files navigation

Jenkins Pipeline Seeder Project

This repository contains Pipeline and GroovyDslPlugin scripts to test and deploy Jenkins pipeline jobs right form the jenkins

Repository Structure

.
├── jobs
│   │
│   └── seeder.groovy     # Groovy script to seed jobs with provided configuration
│
└── test
    └── integration
        └── groovy
            └── JobSriptsSpec.groovy   # Reads the configuration run deployment in a test environment
                                    # to test job-publisher

Contribution

Testing

# Download dependency project
git clone https://github.com/stchar/pipeline-dsl-seed-dep ../pipeline-dsl-seed-dep

# Process config.groovy files to
# Get list of jobs to deploy
./gradlew getJobs

# Run tests
./gradlew check

Deployment

See https://github.com/stchar/pipeline-dsl-seed-dep docs for details

Additional Links

About

Test and deploy Jenkins pipelines right form the Jenkins

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages