At the moment, we are generating Jenkins jobs using the Job DSL plugin. Typically, we have the following jobs per project:
- CI build (SNAPSHOT build)
- Deployment, one per stage
- Integration test (nightly build)
- Creation of a release
- Reports (Maven site, during the night)
Am I right that there can be only one Jenkins file in the project's repository? How could I map our requirements to the new Jenkins pipeline?
I'm asking because we're going to install version 2 of Jenkins, and I'm not sure whether we should abandon our Jenkins job generation and use Jenkins files.