AWS Thinkbox Discussion Forums

Get the deadline point version from scripting api

In the scripting api docs i cant seem to find a method to get the point version of deadline that is running.
i can write an internal method to lookup the repo path and get the version from /settings/repository.ini .

But i figured id see if there was a way to get it out of the box

Chers
Kym

found it:
ClientUtils.GetDeadlineVersion()

i wish the search field in the api docs would find things correctly… typing in version only returns the function on the balancer :frowning:

Nope, that only give me 2 decimal points :frowning: , got excited there for a second.

is there a way to get the full 10...*

Check this thread:

version = ClientUtils.ExecuteCommandAndGetOutput("GetVersion")
print("Deadline's version is {}".format(version))

>> Deadline's version is v10.0.10.4 Release (ffe5d2721)
1 Like

Brilliant, thanks for the reply.

Privacy | Site terms | Cookie preferences