mockersf / jenkins-api.rs

Rust client for Jenkins API
MIT License
26 stars 17 forks source link

Change the type of slave_agent_port in Home to i32 #57

Closed krooq closed 4 years ago

krooq commented 4 years ago

This is a super small change to fix #50. Tried it against my jenkins server and it works as expected

mockersf commented 4 years ago

sorry about letting that go, I fixed it by using an enum with the meaning of the field (-1 -> disabled, 0 -> random port, other value -> fixed port)

Thank you!