Manual deploy phases are reported to JIRA
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
For the JIRA connector, all the deployments are being reported, even the ones marked with when: manual.
Steps to reproduce
- Set up a project with JIRA connector configured
- Create a pipeline with a step that will deploy something. This step should annotated with
when: manualcondition - Run the automatic pipeline (for example, on merge against master that will trigger the deployment)
- Observe that JIRA deployments screen will show that there's a pending deployment
What is the current bug behavior?
JIRA shows that deployment is pending. It still waits until status is being reported. Unfortunately, if a few consecutive builds are being ran, even the previous build was green and reported, it's still pending status.
What is the expected correct behavior?
For manual jobs, deployment status shouldn't be reported until it starts.
Edited by 🤖 GitLab Bot 🤖