Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321579

Summary: Upgrade Hudson Git plugin on build.ecf-project.org to 1.x (custom)
Product: [RT] ECF Reporter: Markus Kuppe <bugs.eclipse.org>
Component: ecf.relengAssignee: Markus Kuppe <bugs.eclipse.org>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3.0   
Target Milestone: 3.4.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 321495, 286059    
Attachments:
Description Flags
customized git plugin version deployed on build.ecf-project.org none

Description Markus Kuppe CLA 2010-08-03 07:47:40 EDT
The recent 1.0 Hudson git release adds among other goodies one needed feature (#6357):

Changelog
Version 1.0 (released July 29, 2010)
    * Added support for Github as a repository browser.
    * Added support for optionally putting source in a subdirectory of the workspace (issue #6357)
    * If all repository fetches fail, fail the build. (issue #6902)
    * Improved logging of git command execution errors (issue #6330)
    * Basic support for excluded regions and excluded users in polling added (issue #4556)
    * Support for optionally checking out to a local branch, rather than detached HEAD (issue #6856)
    * Revamped GitPublisher to allow for pushing tags to remotes and pushing to remote branches, as well as existing push of merge results. (issue #5371)


Thus we have to upgraded to >= 1.0 on build.ecf-project.org. Otherwise we will have to maintain two different build templates (a git and a CVS tmpl)

Unfortunately git submodule support is currently broken in the official release [0] and the standing bug has not been addressed [1] yet. Thus we have to patch the current code base [2] for the moment.

[0] http://wiki.hudson-ci.org/display/HUDSON/Git+Plugin
[1] http://issues.hudson-ci.org/browse/HUDSON-6663
[2] http://github.com/lemmy/Hudson-GIT-plugin/
Comment 2 Markus Kuppe CLA 2010-08-03 08:48:02 EDT
Created attachment 175772 [details]
customized git plugin version deployed on build.ecf-project.org
Comment 3 Markus Kuppe CLA 2010-08-03 09:14:45 EDT
Plugin deployed on build.ecf-project.org (1.1-SNAPSHOT (private-08/03/2010 01:40-markus)), marking as fixed