ydemetriades/jira-release

By ydemetriades

Updated about 1 year ago

Image
0

3.2K

ydemetriades/jira-release repository overview

Jira Release

Description:

Easily create Jira releases from the comfort zone of your CLI! :)

ydemetriades/jira-release docker image enables the creation of Release Versions in Jira. You can find it at DockerHub.

Runtime & Tags

ydemetriades/jira-release is available both for Linux and Windows.

Linux
TagVersionPull
v1.0v1.0ydemetriades/jira-release:v1.0
v2.0v2.0ydemetriades/jira-release:v2.0

Note: latest tag points to v2.0

Windows

ydemetriades/jira-release on Windows is available only for 1809

TagVersionPull
v1.0-win1809v1.0ydemetriades/jira-release:v1.0-win1809
v2.0-win1809v2.0ydemetriades/jira-release:v2.0-win1809

Note: latest-win1809 tag points to v2.0-win1809

Parameters

From v2.0.0 all parameters are passed as executable arguments or by environment variables.

ParameterEnvironment VariableRequiredDescriptionDefault ValueAvailable OptionsExample
--version, -vJIRA_VERSION_NAMEYesThe unique name of the version---v v1.0
--project, -pJIRA_PROJYesThe ID of the project to which this version is attached---p 10000
--user, -uJIRA_AUTH_USERYesThe Jira authentication user [email]---u user
--passwordJIRA_AUTH_PASSWORDYesJira API Authorization Password / API Token----password 12345
--description, -dJIRA_VERSION_DESCRIPTIONNoThe description of the version. Default value is an empty string.---d "My awesome version description!"
--updateJIRA_VERSION_UPDATENoIndicates whether to update/create the version. Avoidance/False indicates creation where definition/True indicated update---
--releasedJIRA_VERSION_RELEASEDNoIndicates that the version is released.----released
--archivedJIRA_VERSION_ARCHIVEDNoIndicates that the version is archived.----archived
--urlJIRA_URLNoJira Urlhttps://jira.org---url https://jira.mydomain.com
--api-versionJIRA_API_VERSIONNoJira API Version3[2, 3]--api-version 3

Notes

  1. Enable Jira Api from Administration Settings

  2. User JIRA_AUTH_USER must be an Administrator for JIRA_PROJ project

Examples

CLI Examples
jira-release.py -v v1.0.0 -p 10000 -u [email protected] --password 'YOUR_API_TOKEN'
Docker Examples
docker run -d --rm \ 
-e JIRA_VERSION_NAME=v1.0 \
-e JIRA_PROJ=TES \
-e JIRA_AUTH_USER=user \
-e JIRA_AUTH_PASSWORD=password \
ydemetriades/jira-release
docker run -d --rm \ 
-e JIRA_VERSION_NAME=v1.0 \
-e JIRA_PROJ=TES \
-e JIRA_AUTH_USER=user \
-e JIRA_AUTH_PASSWORD=password \
-e JIRA_URL=http://jira.mydomain.com \
-e JIRA_VERSION_RELEASED=false \
-e JIRA_VERSION_DESCRIPTION=Fixed issue TES-101 \
ydemetriades/jira-release

Maintainers

Yiannis Demetriades

Tag summary

Content type

Image

Digest

sha256:7bd140b8f

Size

22.8 MB

Last updated

about 1 year ago

docker pull ydemetriades/jira-release