We can run the agent as a service in server using below setups.

First download the agent setup from agent pools for running that agent as a service in our VM.

You can download the agent as per your requirement eg: Linux , windows

Then go to the downloaded folder and run the config.cmd file

Asking your server url eg:https://ciqtest.visualstudio.com/

Enter the PAT(Personal Access Tokens) we can generate from the users security.

To add the PAT, please click add and mention the deploy and build agent service then click add or submit. It shows you the PAT please copy and paste it in the cmd.

It will ask for an agent pool name, when we give the corresponding pool name the agent will run based on the given pool name.

After configuring the agent , please run the run.cmd file in downloaded folder. It can run the TFS agent in our VMs.

Finally we are running the TFS agent as a service in our VMs, it can use our system capabilities.

CI\CD Azure Web App using Visual Studio Team Service
  1. Create the application in visual studio.
  2. Then push that code to the git and also import that code in visual studio team services.
    • Create a new project in VSTS

    • Please import the git repository and of your project

  3. Then create the build for that application in VSTS.
    • Go to build page for creating a build definition for your project
    • Click new definition and choose a template that build’s azure web app

    • Please mention the agent to run the build process.
    • In that agent only we can find the build and published file, so we need to mention the same agent in release management then only we can find the published folder and process the deployment easily.

    • Please authorise the azure subscription and it will show the azure web apps in your subrcription, you can choose the azure web app in app service name.

  1. Create release for deployment to Azure web app service.
    • Please mention the agent for run the deployment through agent.

    • Please mention the azure subscription and azure app service name.
    • Then release the deployment it will deploy to mention app service in azure portal.

    CI\CD for Azure web app using VSTS online created.

CloudIQ is a leading Cloud Consulting and Solutions firm that helps businesses solve today’s problems and plan the enterprise of tomorrow by integrating intelligent cloud solutions. We help you leverage the technologies that make your people more productive, your infrastructure more intelligent, and your business more profitable. 

US

3520 NE Harrison Drive, Issaquah, WA, 98029

INDIA

Chennai One IT SEZ,

Module No:5-C, Phase ll, 2nd Floor, North Block, Pallavaram-Thoraipakkam 200 ft road, Thoraipakkam, Chennai – 600097


© 2023 CloudIQ Technologies. All rights reserved.

Get in touch

Please contact us using the form below

    USA

    3520 NE Harrison Drive, Issaquah, WA, 98029

    +1 (206) 203-4151

    INDIA

    Chennai One IT SEZ,

    Module No:5-C, Phase ll, 2nd Floor, North Block, Pallavaram-Thoraipakkam 200 ft road, Thoraipakkam, Chennai – 600097

    +91-044-43548317