Ticket #2153 (closed defect: fixed)

Opened 19 months ago

Last modified 17 months ago

Master-side git source step always uses default branch after clone

Reported by: Tobi Owned by:
Priority: critical Milestone: 0.8.6
Version: master Keywords: git
Cc:

Description

Master-side git source step doesn't respect the branch property of the build request when has to do a full clone.

This means that for all modes/methods, it may build the wrong branch if the source dir is not updateable, and in particular full/clobber will always build the default branch, regardless of the branch property.

This happens because the master-side git source step only does a git clone if source is missing: it does not checkout any branch in particular, so it will happen to build the branch git clone checked out (typically, master).

Change History

comment:1 Changed 18 months ago by dustin

  • Keywords master-side removed
  • Priority changed from major to critical
  • Type changed from undecided to defect
  • Milestone changed from undecided to 0.8.6

comment:2 Changed 17 months ago by tom.prince

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.