WHILE WRITING A DEADLINE PLUGIN (not a submitter or even listener) (just in case it makes any difference here).
According to the docs, to set a key and its value to the the job configuration we are supposed to use the following functions:
SetJobExtraInfoKeyValue (string key, string value)
GetJobPluginInfoKeyValue(string key, string value)
Despite the fact I have imported imported every deadline module I could:
from Deadline.Plugins import *
from Deadline.Scripting import *
from Deadline.Jobs import *
from System import *
from System.Diagnostics import *
from System.IO import *
from System.Text import *
import re, os
the GetJobPluginInfoKeyValue errors out and SetJobExtraInfoKeyValue while doesn’t fail does nothing since there are no key and its value added to the job’s config.
I would appreciate if someone from Thinkbox would answer how to use these commands. What conditions in the code need to be set in order for these function to start working. Thanks in advance.