Hi folks,
We have configured a pipeline in BitBucket. In the connected Jira in Deployments we do see all the deployments to the test environment. However, we don't see the deployments in the Production Environment. Could this be due to having something not configured in Jira, or it is due to the pipeline, and more specifically, overwriting a predefined step?
image: mcr.microsoft.com/dotnet/sdk:8.0
definitions:
steps:
- step: &build-and-test
name: Build and Test
caches:
- dotnetcore
script:
- dotnet restore
- dotnet build --no-restore --configuration Release
- dotnet test --no-build --configuration Release --verbosity normal
- step: &deploy
name: Deploy to UAT
deployment: Test
trigger: manual
script:
- cd ~
- apt-get update
- apt-get install -y unzip
- curl -sL https://aka.ms/InstallAzureCLIDeb | bash
- wget https://github.com/Azure/azure-functions-core-tools/releases/download/4.0.5571/Azure.Functions.Cli.linux-x64.4.0.5571.zip
- unzip Azure.Functions.Cli.*.zip -d azure-functions-cli
- cd azure-functions-cli
- chmod +x func
- chmod +x gozip
- export PATH=`pwd`:$PATH
- cd /opt/atlassian/pipelines/agent/build/src/my-project
- az login --service-principal -u $AZURE_APP_ID -p $AZURE_PASSWORD --tenant $AZURE_TENANT_ID
- func azure functionapp publish $FUNCTION_NAME
pipelines:
branches:
main:
- step: *build-and-test
- step:
<<: *deploy
name: Deploy to Production
deployment: Production
develop:
- step: *build-and-test
- step: *deploy
default:
- step: *build-and-test
Hey @Nikola Kalfov
Could you please provide more information about the missing production deployment? Is it missing from the deployment tab in Bitbucket or the Jira side? Additionally, it would be helpful if you could share a screenshot of the issue.
Thank you.
Syahrul
Hi, @Syahrul
I see everything fine in BitBucket. I am not seeing it in Jira Deployments. Each day we had a deployment on Test, we also had a deployment on Prod. However, I am seeing only the test deployments in Jira Deployments:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Nikola Kalfov
This looks like an issue with Jira side and not Bitbucket. Can you raise a support ticket directly with the Jira team in our Support portal?
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.