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
- task: PublishSymbols@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
@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
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.
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.