CircleCI-Public / jira-connect-orb

Display the status of CircleCI workflows and deployments in Jira!
https://circleci.com/orbs/registry/orb/circleci/jira
MIT License
25 stars 27 forks source link

Jira Connect Orb fails on Windows executors #73

Closed kevin-- closed 2 years ago

kevin-- commented 3 years ago

Orb version

circleci/jira@1.3.1

What happened

Windows executor's default shell is powershell.exe, so the jira scripts expecting bash fail immediately. bash.exe is available on these machines, but I can't figure out how to specify the shell to use with the orb.

Minimal example

version: 2.1

orbs:
  windows: circleci/windows@2.4.1
  jira: circleci/jira@1.3.1

jobs:
  build-win:
    executor:
      name: windows/default
    steps:
      - run:
          command: echo dummy step

workflows:
  build-all:
    jobs:
      - build-win:
          post-steps:
            - jira/notify

Expected behavior

jira/notify works out of the box on Windows executors

KyleTryon commented 2 years ago

Hello folks. Thank you for submitting this and letting us know you are still interested in this feature.

We will soon be working on a completely new Jira integration based on Atlassian's new "Forge" framework. We will take this feedback and include this feature into the new integration.

We are now putting this orb integration into "maintenance" mode. We will be fixing bugs in this orb for the time being but will take all-new features to the next integration.

This issue should be resolved by the new Webhook-based integrations we will be using, so the shell within the job will have no effect on the notification.

Thank you.