Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to use new value for jenkins_http_port #96

Open
zshi-redhat opened this issue Mar 13, 2017 · 1 comment
Open

failed to use new value for jenkins_http_port #96

zshi-redhat opened this issue Mar 13, 2017 · 1 comment
Assignees
Milestone

Comments

@zshi-redhat
Copy link
Contributor

zshi-redhat commented Mar 13, 2017

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

@zshi-redhat zshi-redhat changed the title failed to use new jenkins_http_port failed to use new value for jenkins_http_port Mar 13, 2017
@zshi-redhat
Copy link
Contributor Author

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.

@leifmadsen leifmadsen added this to the 17.03 milestone Mar 15, 2017
@leifmadsen leifmadsen self-assigned this Mar 15, 2017
@leifmadsen leifmadsen modified the milestones: 17.04, 17.03 Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants