Skip to content

Commit

Permalink
fix(jenkins): Fix encoding of Jenkins URL (#421) (#423)
Browse files Browse the repository at this point in the history
Jenkins requires build names containing slashes to be sent with
the slashes unencoded.
  • Loading branch information
spinnakerbot authored and ezimanyi committed Dec 19, 2018
1 parent 602b3fb commit 05db3d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public interface IgorService {
@GET("/builds/status/{buildNumber}/{master}/{job}")
Map<String, Object> getBuild(@Path("buildNumber") Integer buildNumber,
@Path("master") String master,
@Path("job") String job);
@Path(value = "job", encode = false) String job);

@GET("/builds/properties/{buildNumber}/{fileName}/{master}/{job}")
Map<String, Object> getPropertyFile(@Path("buildNumber") Integer buildNumber,
@Path("fileName") String fileName,
@Path("master") String master,
@Path("job") String job);
@Path(value = "job", encode = false) String job);
}

0 comments on commit 05db3d9

Please sign in to comment.