From 1c120c55fbf2f034b4d3bfff87af85bf7bb11812 Mon Sep 17 00:00:00 2001 From: Augustin Borsu Date: Wed, 23 Dec 2015 09:26:24 +0100 Subject: [PATCH] jenkins-job-builder fix: use prefix and host from jenkins cfg, fixes #11897 --- .../services/continuous-integration/jenkins/job-builder.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/continuous-integration/jenkins/job-builder.nix b/nixos/modules/services/continuous-integration/jenkins/job-builder.nix index ec15a6a3d706..1f65db4ce956 100644 --- a/nixos/modules/services/continuous-integration/jenkins/job-builder.nix +++ b/nixos/modules/services/continuous-integration/jenkins/job-builder.nix @@ -144,7 +144,7 @@ in { done echo "Asking Jenkins to reload config" - curl --silent -X POST http://localhost:${toString jenkinsCfg.port}/reload + curl --silent -X POST http://${jenkinsCfg.host}:${toString jenkinsCfg.port}${jenkinsCfg.prefix}/reload ''; serviceConfig = { User = jenkinsCfg.user;