Publish from Bitbucket Pipline to Azure Devops Symbol Server

John Crawford
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 15, 2023

Hi,

I am using Bitbucket Pipelines as my build process and publishing my nuget packages to an Azure DevOps Artitfact Feed

What I would like to do is also publish the Symbols to the Azure Symbol Server to allow for debugging of my nuget packages.

If doing the build in Azure devops, publishing the symbols is easily done via the instructions provided here: 

https://learn.microsoft.com/en-us/azure/devops/pipelines/artifacts/symbols?view=azure-devops

And this Yaml 

taskPublishSymbols@2
      inputs:
        SearchPattern'**/bin/**/*.pdb'
        SymbolServerType'TeamServices'

So the question, how do I publish my symbols from a bitbucket pipeline to Azure Symbols Server, what is the Bitbucket equivalent of the above?

Cheers 

1 answer

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 16, 2023

@John Crawford hi. There is no equivalent to https://github.com/microsoft/azure-devops-symbols in bitbucket pipelines. However, you could try to use azure cli and write your custom solution in bitbucket pipelines.
In example: pipeline-artifacts with azure-cli.

script:
  - pipe: atlassian/azure-cli-run:1.1.0
    variables:
      AZURE_APP_ID: $AZURE_APP_ID
      AZURE_PASSWORD: $AZURE_PASSWORD
      AZURE_TENANT_ID: $AZURE_TENANT_ID
      CLI_COMMAND: 'az pipelines runs artifact upload --artifact-name 'test' --path <path> --run-id '<run-id here>''

 Regards, Igor

John Crawford
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 18, 2023

Thanks @Igor Stoyanov , I will have a go and see what I can come up with if I get it working I will post back here.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events