Icon

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

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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 pathconvert_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.

...

  • 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. "\\"
Note
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 (new in v6.4-2)

AppFinder Jobs: using Non-Default Install Paths