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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/edf16052-324e-442f-8335-39dab178e23a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to