Got a panick trying to call get_home() on Jenkins :
Error(Json(Error("invalid value: integer-1, expected u32", line: 1, column: 7271)))
If I check directly through the Jenkins API, the only field returned for Home with this value is the slaveAgentPort field.
If the Enable TCP Port for JNLP agents is set to disabled, then the slaveAgentPort is set to -1.
So the field for the Home struct should be of a type accepting negative values.
Got a panick trying to call get_home() on Jenkins :
Error(Json(Error("invalid value: integer
-1, expected u32", line: 1, column: 7271)))
If I check directly through the Jenkins API, the only field returned for Home with this value is the
slaveAgentPort
field. If theEnable TCP Port for JNLP agents
is set todisabled
, then theslaveAgentPort
is set to -1. So the field for the Home struct should be of a type accepting negative values.