[Jenkins-infra] JIRA in Docker

Kohsuke Kawaguchi kk at kohsuke.org
Thu Mar 26 07:18:13 UTC 2015

I really shouldn't be doing this, but this is exciting, so I need to brag
about this.

For the last two nights I've been hacking on containerizing JIRA
<https://github.com/jenkins-infra/jira>. And I got to the point that I can
launch a copy of issues.jenkins-ci.org in my local computer.

In addition to JIRA container, I also run another container that runs
MariaDB. I restore the full copy of production JIRA DB from backup archive.
Some of the entries in this DB needed to be tweaked as well. For example,
JIRA needs to know its own URL, and during the test it is
http://localhost:8080/ and not https://issues.jenkins-ci.org/

Then I run yet another container that contains OpenLDAP. I feed this guy
with dummy data.

Those three containers are wired together so that JIRA can log users in and
have real data to show.

JIRA also has a directory in which it stores attachments, avatars, and
search index. I've hooked this up into the JIRA container, so it has access
to all the plugins we run, attachments, etc.

The end result is that I can put pages from https://issues.jenkins-ci.org/
and http://localhost:8080/ side-by-side and I cannot tell any difference.

This is really cool!

Tomorrow I'm going to actually try out a new version of JIRA.

Kohsuke Kawaguchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jenkins-ci.org/pipermail/jenkins-infra/attachments/20150326/56e6e9bd/attachment.html>

More information about the Jenkins-infra mailing list