Dockerized version of Jira Software to easily spin up development versions without having to deal with the hassle of managing licences.
This image uses atlas-cli
to create an empty Jira Software instance by launching a development environment for an empty plugin. Starting this development environment can be very slow (expect it to take more than 5 minutes), so this is best used for asyncronous tasks, such as running in your CI pipeline.
This image is published to Docker Hub. Using them is easy, to run it in the foreground:
docker run -it -p 2990:2990 --name jira addono/jira-software-standalone
Or in detached mode as to run it in the background:
docker run -d -it -p 2990:2990 --name jira addono/jira-software-standalone
Note: Make sure that the -i
flag is enabled, as without it the server will exit the moment it completed booting.
This is one way on how to use this image in a Travis CI pipeline. Add the following lines to your .travis.yaml
file and access it at the location specified in the environment variables.
# Let the CI runner provision Docker for us
services:
- docker
# Spin up the Jira instance before we run our jobs
before_install:
# Launch a Jira instance in detached mode
- docker run -dit -p 2990:2990 --name jira addono/jira-software-standalone
# Wait until Jira has booted
- until $(curl -u $CI_JIRA_ADMIN:$CI_JIRA_ADMIN_PASSWORD --output /dev/null --silent --head --fail $CI_JIRA_URL/rest/api/2/permissions); do sleep 5; done
# Set the default hostname and admin user credentials as environment variables
env:
global:
- CI_JIRA_URL=http://localhost:2990/jira
- CI_JIRA_ADMIN=admin
- CI_JIRA_ADMIN_PASSWORD=admin
Thanks goes to these wonderful people (emoji key):
Adriaan Knapen 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!