Skip to content

Commit

Permalink
Don't encode job uri's
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Toriel committed Dec 11, 2015
1 parent ecd68ab commit 7900ccf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/scripts/modules/core/ci/jenkins/igor.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ module.exports = angular.module('spinnaker.core.ci.jenkins.igor.service', [
}

function getJobConfig(master, job){
return Restangular.one('v2').one('builds', master).one('jobs', job).get();
var RestangularEncodeUriFalse;

RestangularEncodeUriFalse = Restangular.withConfig(function(RestangularConfigurer) {
RestangularConfigurer.setEncodeIds(false);
});
return RestangularEncodeUriFalse.one('v2').one('builds', master).one('jobs', job).get();
}

return {
Expand Down

0 comments on commit 7900ccf

Please sign in to comment.