Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 jira/notify keeps adding new builds #33

Open
kevin-- opened this issue Oct 11, 2023 · 0 comments
Open

v2 jira/notify keeps adding new builds #33

kevin-- opened this issue Oct 11, 2023 · 0 comments

Comments

@kevin--
Copy link

kevin-- commented Oct 11, 2023

Every time a dev pushes to their branch, it seems the tooling keeps adding a new build.

We have it set up as a command in our workflow.yml

  jira-notify:
    description: Notify JIRA
    steps:
      - jira/notify:
          ignore_errors: false
          pipeline_id: << pipeline.id >>
          pipeline_number: << pipeline.number >>

since we have many different setups depending on what artifacts have been cached, which architectures we need to build, etc (we run a Setup step).

At any rate, we run the jira-notify command as a post-steps on the final job in the pipeline.

As shown in the screenshot below, each job has a new pipeline_id and pipeline_number. The V1 Jira Orb would only keep the latest build here for a given ticket/branch, and we would like to restore that functionality. QA shouldn't have to read a list to figure out which build to test.

image

Can we override pipeline_id to 0 or something to make them all merge into 1 item in the list?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant