So, you have a number of jobs that are mostly identical but there's a
little bit that should work differently for them.

To me this sounds like a perfect case of multi-configuration job.
https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project

Essentially, Jenkins will run your job a number of times but each run
will have a different value for an environment variable. You can then
vary the build behavior based on the environment variable.

Try it, you'll like it.

-- Sami

2012/6/15 Bram de Jong <bram.dej...@samplesumo.com>:
> Hello all,
>
>
> We have a lot of jobs which all should start exactly the same way (
> "i.e. check out these 5 repos, copy this here, this there" ) and then
> a different part per job.
>
> We do want these jobs to be *separate* jobs though because each job is
> building a different application with its own set of tests.
>
> How can I set this up easily in jenkins without having to write those
> first steps over and over again?
>
>
> thx!
>
>
>  - bram
>
> --
> Bram de Jong - CTO
> SampleSumo BVBA, Wiedauwkaai 23 G, B-9000 Ghent, Belgium
> Web: http://www.samplesumo.com
> Twitter: http://twitter.com/SampleSumo
> Facebook: http://facebook.com/SampleSumo
> Phone: +32 9 3355925 - Mobile: +32 484 154730

Reply via email to