jenkins-job-builder fix: use prefix and host from jenkins cfg, fixes #11897
This commit is contained in:
parent
44ea184997
commit
1c120c55fb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue