Versions Compared

    Key

    • This line was added.
    • This line was removed.
    • Formatting was changed.

    Synopsis

    New in v6.4-2

    worker_path_map =  {
        "pathA" = "pathB"
        ...
    }

    Specify the path translation map for a worker.  Any job that supports path translation (have the convert_path job flag set, or any pyCmdline, pyCmdrange, or AppFinder jobs) will have pathB substituted for pathA when the job runs on the worker.

    ...

    • One key/value pair per line.
    • All key/value pairs are defined with an = (equals) sign. The space before and after the equals sign is optional. The leading whitespace is optional.
    • All values must be quoted with double-quotes.
    • The closing brace must be on a new line. 
    • Backslashes must be escaped by preceding with another backslash, i.e. "\\"
    Note
    The mappings are applied in order, so it's recommended to we recommend that you provide the " / = \\" or " \ \ = /" mappings as either the first or last entries in the map.

    ...

    Examples

    Windows worker:

    worker_path_map = {  
        "/Volumes/farm" = "//Server/farm"

    ...

        "/Users/jburk" = "Z:"

    ...

        "/Users/jburk/test" = "Y:"
        "/tmp" = "C:/temp"
        "/" = "\\"
    }

    OS X / Linux worker:

    worker_path_map = {
         "\\" = "/"
         "//Server/farm" = "/Volumes/farm"
             "Z:" = "/Users/jburk"
             "Y:" = "/Users/jburk/test"
         "C:/temp" = "/tmp"
    }

    Defaults

    None.

    See Also

    AppFinder Jobs

    ...