Different time zone on Perforce server does not work

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 1.0.4
    • Affects Version/s: 1.0.1
    • Component/s: Repository (Other)
    • None
    • Environment:

      Standalone on Windows and Linux

      Bamboo's BuildChangeDetector does not take time zones in to consideration when asking Perforce for changes. All Perforce commands assume the time zone of the server. In our case the Perfrorce server runs on PST and the Bamboo server on UTC. The effect is that Bamboo never builds from changes detected in the VCS. The changes are detected and Bamboo issues a p4 changes command using the current date and the date since last build. This command return zero in our case since the server is 8 hours ahead.

      I temporarily solved the problem by passing system property user.timezone in the wrapper config.

              Assignee:
              bmccoy
              Reporter:
              William Sporrong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: