Below is my pipeline script
I think the issue is bitbucket cloud can't reach my internal server, please confirm.
image: mcr.microsoft.com/dotnet/core/sdk:3.1
pipelines:
default:
- step:
name: Build App
caches:
- dotnetcore
script:
- dotnet restore
- dotnet build --no-restore
- dotnet publish --no-restore -c Release -o $BITBUCKET_CLONE_DIR/release
artifacts:
- release/**
- step:
name: Deploy to server
deployment: staging
script:
- pipe: atlassian/scp-deploy:0.3.9
variables:
USER: $USER
SERVER: '10.89.1.115'
REMOTE_PATH: '/d/sites/sfh'
LOCAL_PATH: 'release/*'
DEBUG: 'true'