Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3808

Hudson doesn't pass the env:APPDATA variable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Windows XP
    • Similar Issues:

      Description

      Building Code Gear Delphi projects (.dproj - MSBuild files) requires APPDATA to be
      set to "C:\Documents and Settings\USERNAME\Application Data" otherwise compiler
      will throw an error "fatal: F1027 Unit not found: 'System.pas' or binary
      equivalents (.dcu)".
      I solved it temporary by adding custom env variable to Hudson, but this variable
      should be passed by default.

        Attachments

          Activity

          Hide
          aleksas aleksas added a comment -

          Possibly is related to Windows issue: http://support.microsoft.com/kb/329308.
          Simple solution is to explicitly specify APPDATA value as an environment variable.

          Show
          aleksas aleksas added a comment - Possibly is related to Windows issue: http://support.microsoft.com/kb/329308 . Simple solution is to explicitly specify APPDATA value as an environment variable.
          Hide
          aleksas aleksas added a comment -

          Since APPDATA variable can vary for each slave I find it better to specify APPDATA as an evn. variable directly on slave machine not in Jenkins Config. When cloning virtual slave machines you will not have to check which machine had which APPDATA value.

          Show
          aleksas aleksas added a comment - Since APPDATA variable can vary for each slave I find it better to specify APPDATA as an evn. variable directly on slave machine not in Jenkins Config. When cloning virtual slave machines you will not have to check which machine had which APPDATA value.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            aleksas aleksas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: