jenkinsci / packaging

Native packaging for Jenkins
https://jenkins.io
42 stars 83 forks source link

Add packaging support for unix domain sockets #442

Closed minfrin closed 11 months ago

minfrin commented 1 year ago

Added to winstone: https://github.com/jenkinsci/winstone/pull/346 / https://github.com/jenkinsci/winstone/issues/345

Testing done

WAR=/home/minfrin/jenkins.war MSI= BUILDENV=env/release.mk BRAND=branding/jenkins.mk make rpm
JAVA_HOME=/etc/alternatives/jre_17

JENKINS_PORT=-1
JENKINS_PREFIX=/jenkins
JENKINS_UNIX_DOMAIN_PATH=/var/run/jenkins/jenkins.socket

Apache httpd configured as follows:

  ProxyPass unix:///run/jenkins/jenkins.socket|http://localhost/jenkins nocanon
  ProxyPassReverse unix:///run/jenkins/jenkins.socket|http://localhost/jenkins
### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue
timja commented 11 months ago

cc @kmartens27 / @MarkEWaite for changelog