AWS Thinkbox Discussion Forums

Post job script extra info?

How does the post-job script access job properties like extra info?

I noticed the PreJob.py script is passed the Deadline plugin:
def main( deadlinePlugin ):

but my PostJob.py function is not:
def main(*args):

At least with how it’s currently setup over here.

But you are required to have a __main__(*args) in the post job script.
The first argument is the plugin, so

plugin = args[0]
job = plugin.GetJob()

Exactly what I was looking for! Thank you kindly.

Privacy | Site terms | Cookie preferences