Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mobomo/jira-releases
CircleCI Orb to handle Jira Releases
https://github.com/mobomo/jira-releases
Last synced: about 1 month ago
JSON representation
CircleCI Orb to handle Jira Releases
- Host: GitHub
- URL: https://github.com/mobomo/jira-releases
- Owner: mobomo
- License: mit
- Created: 2021-07-19T17:22:41.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-18T21:04:39.000Z (almost 3 years ago)
- Last Synced: 2024-03-25T22:59:28.903Z (10 months ago)
- Language: Shell
- Size: 82 KB
- Stars: 0
- Watchers: 30
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Jira Releases
[![CircleCI Build Status](https://circleci.com/gh/mobomo/jira-releases.svg?style=shield "CircleCI Build Status")](https://circleci.com/gh/mobomo/jira-releases) [![CircleCI Orb Version](https://badges.circleci.com/orbs/mobomo/jira-releases.svg)](https://circleci.com/orbs/registry/orb/mobomo/jira-releases) [![GitHub License](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mobomo/jira-releases/master/LICENSE) [![CircleCI Community](https://img.shields.io/badge/community-CircleCI%20Discuss-343434.svg)](https://discuss.circleci.com/c/ecosystem/orbs)
This Orb helps you creating and releasing your Jira project versions.
**NOTE:** To avoid setting the auth token in your config files, you must define it as an CircleCI Environment Variable.
Using the CircleCI UI, you can go to your Project > Project Settings > Environment Values > Add Environment Value called
`JIRA_AUTH`In order to encode the username:password string, you can run:
```shell
echo -n 'jira_user_email:jira_api_token' | openssl base64
```Copy the base64 encoded string and paste it in the Environment Variable `Value` field:
![Setting CircleCI Env Vars](assets/cci_env_vars.png)
## Usage example
```
version: 2.1
orbs:
jira-releases: mobomo/[email protected][...]
set-released:
docker:
- image: makocchi/alpine-git-curl-jq:latest
steps:
- jira-releases/release:
release-name: $CIRCLE_TAG
jira-url: "https://jira.project.url"
jira-project: "KEY"
release-prev: true
```