Bug 397655 - branch specifier doesn't work reliable
Summary: branch specifier doesn't work reliable
Status: NEW
Alias: None
Product: Hudson
Classification: Technology
Component: GIT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-08 05:42 EST by Sven Rottstock CLA
Modified: 2013-01-08 05:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Rottstock CLA 2013-01-08 05:42:29 EST
General Environment Description:
The stardust-milestone build configuration on hudson.eclipse.org contains 17 GIT repositories and is using a specific branch specifier (currently it is b_dev_0_7_1). Each repository is located in an unique subfolder. The build is triggered manually. If the builds starts the workspace is wiped out (we have set this option in the "advanced"-section of the build configuration and in the GIT specific subsection). 

Problem Description:
As we had build this configuration for the first time, all repositories was correctly cloned from the specific branch. A snippet of the console output was:
Checkout:ui.common / /opt/users/hudsonbuild/workspace/stardust-milestone/ui.common - hudson.remoting.LocalChannel@66a49c8d
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository origin8
Fetching upstream changes from git://git.eclipse.org/gitroot/stardust/org.eclipse.stardust.ui.common.git
Seen branch in repository origin8/b_dev_0_7_1
Seen branch in repository origin8/master
Commencing build of Revision cc7ef7231b6707e7ee5c48dd7d0e6bb2c7b80057 (origin8/b_dev_0_7_1)
Checking out Revision cc7ef7231b6707e7ee5c48dd7d0e6bb2c7b80057 (origin8/b_dev_0_7_1)
No change to record in branch origin8/b_dev_0_7_1
 
As we had started the build for the second time we have observed that the above mentioned repository was cloned from master although we have nothing modified in the build configuration. The console output was:
Last Built Revision: Revision cc7ef7231b6707e7ee5c48dd7d0e6bb2c7b80057 (origin8/b_dev_0_7_1)
Checkout:ui.common / /opt/users/hudsonbuild/workspace/stardust-milestone/ui.common - hudson.remoting.LocalChannel@66a49c8d
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository origin8
Fetching upstream changes from git://git.eclipse.org/gitroot/stardust/org.eclipse.stardust.ui.common.git
Seen branch in repository origin8/b_dev_0_7_1
Seen branch in repository origin8/master
Nothing to do