redhat-nfvpe / toad

Automate various OpenStack deployment scenarios with TripleO Quickstart
http://toad.nfvpe.site
Apache License 2.0
10 stars 7 forks source link

failed to use new value for jenkins_http_port #96

Open zshi-redhat opened 7 years ago

zshi-redhat commented 7 years ago

with docker installation method, when jenkins_http_port is changed to another value, jenkins service failed to start on master.

zshi-redhat commented 7 years ago

jenkins_http_port is defined in leifmadsen.jenkins role where the default value is 8080; if one wants to change the default value to for example 8081, not only jenkins_http_port need to be changed, but also some other configuration are required: 1) when using docker method, jenkins_systemd.j2 templated has a hard-coded http port (8080) 2) jenkins_master-vhost.conf.j2 template for nginx config use hard-coded 8080 3) jenkins_job_builder_config_jenkins_url parameter under vars/main.yml , hard-coded 8080 4) container_data/jenkins/jobs/jenkins_jobs.ini:url = http://localhost:8080 5) docker-compose*.yml port mapping.