Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (28 loc) · 1.54 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.54 KB

Jira Releases

CircleCI Build Status CircleCI Orb Version GitHub License CircleCI Community

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:

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

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