Hi!
Say, I have a Git repo that contains a Jenkinsfile. I created a Workflow Multibranch project that is point to that Git repo. It perfectly finds both my branches with different Jenkinsfiles - that's good.
Now imagine I have two different Jenkins-based processes i.e. some automatic CI and some manually triggered Pull Request validation established for my codebase. I want to create two Multibranch projects, one for each of them. The problem is that there is only one Jenkinsfile per repo. I can hack this by analyzing the Jenkins job name within the Jenkinsfile but that's ugly.
What is correct way to do what I want?
I saw there are "properties" for sub jobs, but there I can see only
"
Discard old builds
Throttle builds
Untrusted
"
that don't help much.
Jenkins: 1.639
Workflow (all):1.11
Thanks,
Nick