jenkins-job-builder fix: use prefix and host from jenkins cfg, fixes #11897

This commit is contained in:
Augustin Borsu 2015-12-23 09:26:24 +01:00 committed by Rok Garbas
parent 44ea184997
commit 1c120c55fb

View File

@ -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;