jenkins-docs / jenkins-docs/quickstart-tutorials
Add profile specific jobs
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 33
- Forks
- 359
- Avg merge
- 6h 35m
- Merged PRs (30d)
- 61
Description
The current setup creates a running configuration of Jenkins with a specific agent, e.g. a maven agent. It would be also helpful, if the provided hello-world job would be profile dependent. I.e., when selecting the maven profile it should configure and build a maven project, and so on.
In my Jenkins student setup I am using such jobs for maven, see https://github.com/uhafner/codingstyle/tree/main/docker/images/jenkins-controller/preconfigured-jobs for more details.
Since I did not find an easy way to add profile specific jobs here, I created this issue rather than a PR. Once the general idea is possible, I can copy one of my projects of my codingstyle into this tutorial repository.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files or tests. Start by tracing how profiles select the Jenkins agent and how the current hello-world job is defined, then compare the example jobs in codingstyle's preconfigured-jobs directory. Done means each supported profile provisions and builds its corresponding example project.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, ci-cd, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100