Icon

This is the documentation for an older version of Qube. The latest version of the documentation can be found here: Qube

Skip to end of metadata
Go to start of metadata

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.

Syntax 

  • All key/value pairs defined with an = sign. The space before and after the equals sign 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. "\\"
Icon
The mappings are applied in order, so it's recommended to provide the "/ = \\" or "\\ = /" mappings as either the first or last entries in the map.

Example

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

AppFinder Jobs: using Non-Default Install Paths

  • No labels