1
1
1nd1go2011-04-20 15:59:39
CodeIgniter
1nd1go, 2011-04-20 15:59:39

Question about Hudson and dependent builds?

Greetings!
I have two projects building in Hudson: Server.jar and Shared.jar.
Server depends on Shared.
Both projects are in the same SVN repository, but in different folders:
+ SVN repo root
|
+ Server
| ...
| pom.xml
+ Shared
...
pom.xml
I need to implement the following behavior for building by commit:
1. If Server is updated, only Server is built
2. If Shared is updated, Shared is built first, then Server is rebuilt
3. If both Server and Shared by one commit - the same as point 2.
Everything seems to be simple, only it turns out that in case 3 - Server is assembled 2 times. Hudson 1.392
Is it possible to make normal auto builds in this case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pyatigil, 2011-04-20
@pyatigil

I don’t know the correct answer, I can offer a hack: let the server gather only on the trigger from shared, and sharel gathers both for commits in shared and for commits in the server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question