Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-979

Different time zone on Perforce server does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 1.0.4
    • 1.0.1
    • Repository (Other)
    • None
    • 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.

              bmccoy bmccoy
              5e5eebbabebf William Sporrong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: