10

I'm migrating from Jenkins, Bitbucket, and Jira to Azure DevOps. I would like to use azure pipelines and connect on my on-premise server, deploy my application, run SonarQube, etc

I've tried to run a local agent on my machine, but I couldn't run a deploy.


Solved:
It's possible.
All you need is a self-hosted agent and a deployment group. In my pipeline build I used the following tasks:
MSBuild@1
PublishBuildArtifacts@1
Then in Release Pipeline:
IIS Deployment

Guilherme Bordallo
  • 304
  • 2
  • 4
  • 14

2 Answers2

4

You will need to run a deployment agent on-premises if you want to be able to deploy to servers that you have.

https://devblogs.microsoft.com/devops/deploying-to-on-premises-environments-with-visual-studio-team-services-or-team-foundation-server/

With that said, when you ran through the configuration did you setup the local agent you created in a pool? Did you assign the local agent to a build group and deployment group?

Did you follow the steps here: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops

Jamie
  • 3,094
  • 1
  • 18
  • 28
4

Solved:
It's possible.
All you need is a self-hosted agent and a deployment group. In my pipeline build I used the following tasks: MSBuild@1
PublishBuildArtifacts@1
Then in Release Pipeline:
IIS Deployment

Guilherme Bordallo
  • 304
  • 2
  • 4
  • 14