git pipelines yml

# Template .NET Core build

# This template allows you to validate your .NET Core package.
# The workflow allows running tests and code linting on the default branch.

# To run your pipeline on a Windows machine, create a self-hosted Windows runner.
# For instructions on setting up a Windows runner, see https://support.atlassian.com/bitbucket-cloud/docs/set-up-runners-for-windows/

image: mcr.microsoft.com/dotnet/core/sdk:3.1

# Example
pipelines:
default:
– step:
runs-on:
– self.hosted
– windows
– runner.test
script:
– echo “Test runner pipeline”
– echo ${BITBUCKET_BUILD_NUMBER_NEW}
– step:
name: Deploy to test
deployment: test
# trigger: manual # Uncomment to make this a manual deployment.
script:
– echo “Deploying to test environment”

Was this article helpful?

Leave A Comment?