-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Linux x86
1. if modules placed in SVN without svn:externals, everything works fine
assembly/
project1
project2
project3
---------- cut ------------
Started by an SCM change
Updating https://10.218.35.135:9443/svn/test/sandbox/assembly
U project3\ivy.xml
At revision 9
Parsing Ivy Descriptor Files
>>>Triggering ru.test:project3
Finished: SUCCESS
---------- cut ------------
after changing file in project3, it triggers project3 to build (marked with >>>)
2. In case of svn:externals use:
hudson-ivy/
^/packages/project1/trunk project1
^/packages/project2/trunk project2
^/packages/project3/trunk project3
---------- cut ------------
Started by an SCM change
Updating https://10.218.35.135:9443/svn/test/assemblies/hudson-ivy
Получено 'https://10.218.35.135:9443/svn/test/packages/project1/trunk' в -1 в 'C:\.hudson\jobs\hudson-ivy2\workspace\project1'
AU project1\test.txt
At revision 14
Получено 'https://10.218.35.135:9443/svn/test/packages/project2/trunk' в -1 в 'C:\.hudson\jobs\hudson-ivy2\workspace\project2'
At revision 14
Получено 'https://10.218.35.135:9443/svn/test/packages/project3/trunk' в -1 в 'C:\.hudson\jobs\hudson-ivy2\workspace\project3'
At revision 14
At revision 14
no change for https://10.218.35.135:9443/svn/test/assemblies/hudson-ivy since the previous build
no change for https://10.218.35.135:9443/svn/test/packages/project2/trunk since the previous build
no change for https://10.218.35.135:9443/svn/test/packages/project3/trunk since the previous build
Parsing Ivy Descriptor Files
Finished: SUCCESS
---------- cut ------------
project1 changed, svn update got changes, "no change for" string in log absent for project1
but project build not triggered!
All the settings for projects are the same:
'Incremental build'
'Build modules as separate jobs'
options are turned on
so i don't know the way how to finish my CI.
is this information enogth?
[JENKINS-8229] Ivy plugin not trigger changed modules build if modules is linked as svn:external
Description |
Original:
1. if projects placed in SVN without svn:externals, everything works fine assembly/ project1 project2 project3 ---------- cut ------------ Started by an SCM change Updating https://10.218.35.135:9443/svn/test/sandbox/assembly U project3\ivy.xml At revision 9 Parsing Ivy Descriptor Files >>>Triggering ru.test:project3 Finished: SUCCESS ---------- cut ------------ after changing fule in project3, it triggers project3 to build (marked with >>>) 2. In case of svn:externals: hudson-ivy/ ^/packages/project1/trunk project1 ^/packages/project2/trunk project2 ^/packages/project3/trunk project3 ---------- cut ------------ Started by an SCM change Updating https://10.218.35.135:9443/svn/test/assemblies/hudson-ivy Получено 'https://10.218.35.135:9443/svn/test/packages/project1/trunk' в -1 в 'C:\.hudson\jobs\hudson-ivy2\workspace\project1' AU project1\test.txt At revision 14 Получено 'https://10.218.35.135:9443/svn/test/packages/project2/trunk' в -1 в 'C:\.hudson\jobs\hudson-ivy2\workspace\project2' At revision 14 Получено 'https://10.218.35.135:9443/svn/test/packages/project3/trunk' в -1 в 'C:\.hudson\jobs\hudson-ivy2\workspace\project3' At revision 14 At revision 14 no change for https://10.218.35.135:9443/svn/test/assemblies/hudson-ivy since the previous build no change for https://10.218.35.135:9443/svn/test/packages/project2/trunk since the previous build no change for https://10.218.35.135:9443/svn/test/packages/project3/trunk since the previous build Parsing Ivy Descriptor Files Finished: SUCCESS ---------- cut ------------ project1 changed, svn update got changes, "no change for" string in log absent for project1 but project build not triggered! All the settings for projects are the same: 'Incremental build' 'Build modules as separate jobs' options are turned on so i don't know the way how to finish my CI. is this information enogth? |
New:
1. if modules placed in SVN without svn:externals, everything works fine assembly/ project1 project2 project3 ---------- cut ------------ Started by an SCM change Updating https://10.218.35.135:9443/svn/test/sandbox/assembly U project3\ivy.xml At revision 9 Parsing Ivy Descriptor Files >>>Triggering ru.test:project3 Finished: SUCCESS ---------- cut ------------ after changing file in project3, it triggers project3 to build (marked with >>>) 2. In case of svn:externals use: hudson-ivy/ ^/packages/project1/trunk project1 ^/packages/project2/trunk project2 ^/packages/project3/trunk project3 ---------- cut ------------ Started by an SCM change Updating https://10.218.35.135:9443/svn/test/assemblies/hudson-ivy Получено 'https://10.218.35.135:9443/svn/test/packages/project1/trunk' в -1 в 'C:\.hudson\jobs\hudson-ivy2\workspace\project1' AU project1\test.txt At revision 14 Получено 'https://10.218.35.135:9443/svn/test/packages/project2/trunk' в -1 в 'C:\.hudson\jobs\hudson-ivy2\workspace\project2' At revision 14 Получено 'https://10.218.35.135:9443/svn/test/packages/project3/trunk' в -1 в 'C:\.hudson\jobs\hudson-ivy2\workspace\project3' At revision 14 At revision 14 no change for https://10.218.35.135:9443/svn/test/assemblies/hudson-ivy since the previous build no change for https://10.218.35.135:9443/svn/test/packages/project2/trunk since the previous build no change for https://10.218.35.135:9443/svn/test/packages/project3/trunk since the previous build Parsing Ivy Descriptor Files Finished: SUCCESS ---------- cut ------------ project1 changed, svn update got changes, "no change for" string in log absent for project1 but project build not triggered! All the settings for projects are the same: 'Incremental build' 'Build modules as separate jobs' options are turned on so i don't know the way how to finish my CI. is this information enogth? |
Summary | Original: Ivy plugin not trigger changed projects build if project is specified as svn:external | New: Ivy plugin not trigger changed modules build if modules is linked as svn:external |
Assignee | Original: hibou [ hibou ] | New: Timothy Bingaman [ tbingaman ] |
Workflow | Original: JNJira [ 138339 ] | New: JNJira + In-Review [ 174872 ] |
Ah, that's a tricky one. We don't use svn:externals here so I've never tested this case. The problem is that the svn changes have a different path than the workspace folders (because externals is mapping a different url to a folder name) so the Ivy plugin can't match them up. I'll have to see if there is a way to get more information from the core Hudson api in order to take that into account.
Could take me a bit of time as we've got 6 products releases going out from where I work this week, plus Christmas visitors at home, not to mention that my wife and I have a baby on the way sometime this month
So I'm a bit stretched! I'll see what I can do though.
If you want to try fixing it yourself you can fork the Ivy Plugin code from https://github.com/hudson/ivy-plugin and have a look at it.