Hi

I have recently joined a company that uses Jenkins.
For the previous 6 years I have been a TeamCity expert and am having 
problems getting my head around on how "personal" builds using Perforce 
streams are done in Jenkins.

In Perforce we have mainline,integration and development streams.

I would like to have an solution where an developer could test his stream 
against a project to make sure he doesn't break the integration stream 
builds.

So far i have the following potential solutions but none seem very good.


1) 
Set up a project to build using the integration stream (hardcoded value)
Make copies for n developers each with their own stream

Downsides:
If the main project change then each developer would need to modify their 
own project
Basically a maintenance nightmare and it wouldn't scale if you have 10 
integration projects and 40 developers.

So i though i would be clever and set up a project with parameters for the 
stream
2)
Set up a project to build using a parameter for the stream. Default is the 
integration stream
Developers can now run this project with their own development streams.


So far so good , except with one BIG problem.
The project's history status is taken from all the builds.
So if a developers development stream fails the build then it looks as if 
the integration stream is broken.

I can use a build name plugin to name the builds using the dev stream e.g.

#10.//dev/user2
#9.//dev/user2      (developer 2 now tests dodgy code, breaks, project is 
now shown as fail)
#8.//integration/    (Pass, Jenkins shows everything green)

but i cannot figure out a way for the development builds to be ignored.

I want to have the ability where a developer can test his stream against 
ANY jenkins job to make sure he hasn't broken it.

How is this achieved in Jenkins.

Morné


-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to