Revision can be different across several jobs for the build #1

Issue #48 resolved
Sergey Podobry created an issue

The target revision is null for the very first build (build #1). It's not a problem if a plan has 1 job but if a plan has several jobs they may get different revisions (that is bad). The second and further builds are working correctly (target revision is not null).

Steps to reproduce:

  1. Create a new build plan.
  2. Add a new TFS repository to it.
  3. Run the build for the first time (this is the build #1).

Actual build log:

simple  10-Jul-2015 05:10:47    Updating source code to revision: null
simple  10-Jul-2015 05:10:58    Updated source code to revision: XXXX

Expected build log:

simple  10-Jul-2015 05:10:47    Updating source code to revision: XXXX
simple  10-Jul-2015 05:10:58    Updated source code to revision: XXXX

Linked issues: #49, #51

Comments (5)

  1. Log in to comment