Skip to main content

Simple way to release past(or current) commits within Jira

Project description

# ci-jira-releaser
Simple way to release past(or current) commits within Jira

Credit to @shamrin for the name generator code [https://github.com/shamrin/namesgenerator](https://github.com/shamrin/namesgenerator)

```
usage: ci-jira-releaser [-h] -p PROJECT_KEY -u JIRA_URL [-r REPO_ROOT]
[-U JIRA_USERNAME] [-P JIRA_PASSWORD] --from-commit
FROM_COMMIT [--to-commit TO_COMMIT]
[--project-name PROJECT_NAME]
[--build-number BUILD_NUMBER] [--development]
[--production]

A simple way to label development tags or auto make a releaser within Jira

optional arguments:
-h, --help show this help message and exit
-p PROJECT_KEY, --project-key PROJECT_KEY
The Jira project key: e.g PROJ
-u JIRA_URL, --jira-url JIRA_URL
The url Jira is located at including http://
-r REPO_ROOT, --repo-root REPO_ROOT
The location of the git repo, must have a .git inside
-U JIRA_USERNAME, --jira-username JIRA_USERNAME
environment_var[JIRA_USER]
-P JIRA_PASSWORD, --jira-password JIRA_PASSWORD
environment_var[JIRA_PASSWORD]
--from-commit FROM_COMMIT
Hash of git commit to start grabbing issues from
--to-commit TO_COMMIT
End commit to parse through
--project-name PROJECT_NAME
The name of the project to help generate the label
--build-number BUILD_NUMBER
For build systems usually an environment variable.
Usually passed by Jenkins as a ENV variable.
--development Pass flag if using for development
--production Pass flag if using for production

Don't forget you can use environment variables
```
Examples
--

Development
---
```
ci-jira-releaser -p PROJ -u http://site.atlassian.net --from-commit SHA -r ~/my-project --project-name my-project --build-number 123 --development
```
Production
---
```
ci-jira-releaser -p PROJ -u http://site.atlassian.net --from-commit SHA -r ~/my-project --production
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ci-jira-releaser, version 0.3.8.7
Filename, size File type Python version Upload date Hashes
Filename, size ci_jira_releaser-0.3.8.7-py2-none-any.whl (6.0 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size ci-jira-releaser-0.3.8.7.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page