My Jira and Gitlab are integrated. I can see commits and merge requests in Jira. I enabled `Deployments` feature in JIra and can see most of my deployments on the `Deployments` page.
My GitlabCI has the deployment job `deploy_production`. Its `environment` is set to `production`.
When I run the job, I expect to see the deployment on Jira `deployments` page, but I don't see it there.
This job runs only in the `main` branch. Short living branches can deploy to `development` and they can be seen on the deployments page of Jira. It appears that Jira does not sync main branches properly.
Is there something I might be doing wrong or is it a bug I should be waiting to be fixed?
deploy_production:
image: google/cloud-sdk:alpine
stage: deploy
only:
- main
needs:
- build_app
- build_storybook
environment: production
script:
- echo $SERVICE_ACCOUNT | base64 -d > /tmp/$CI_PIPELINE_ID.json
- gcloud auth activate-service-account --key-file /tmp/$CI_PIPELINE_ID.json
- gcloud --quiet --project $PROJECT_ID app deploy app.yaml
after_script:
- rm /tmp/$CI_PIPELINE_ID.json
when: manual
I am also having issues with this.
Jira is tracking commits, branches and merge to dev that contain the issue ID, but when I merge dev to main, it does not track nor recognise the pipeline.
Not sure if I am missing something or this is not working for another reason
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.