~/talk

Using Jenkins to Build Apache VHosts for GitHub Pull Requests on PHP Apps

links:none on file
slides:none on file

Automates per-PR test sites by checking out each GitHub pull request, creating /var/www/pr{N}/web, and wiring Apache via a mod_vhost_alias pattern plus a wildcard BIND zone so pr3.test, pr4.test, etc. resolve; Jenkins (1.5xx) uses the Jenkins GitHub Pull Request Builder plugin with a refspec and SHA-1 variable to build each PR, run tests, and post status back to GitHub. Demo shows multiple live PR sites (one returns forbidden if no index file). Warns that auto-building untrusted PRs is dangerous and lists Debian/Apache2.2/PHP5.4 as the tested stack.

AI-written summary · about

  1. 0:00Introduction to project
  2. 1:04Professional background
  3. 3:49Development challenges
  4. 6:23The pull request solution
  5. 8:54Automated environment benefits
  6. 12:21System architecture setup
  7. 17:18Jenkins configuration
  8. 23:24Automating deployment
  9. 26:11Live demo and troubleshooting
  10. 41:16Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.