Azure DevOps - How To Deploy Webapp to IIS Server | Deployment Groups |

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024

ความคิดเห็น • 33

  • @angelanaya8037
    @angelanaya8037 ปีที่แล้ว +2

    Excellent explanation in simple language in a step-by-step manner, I am able to create a end to end CI/CD pipeline for my project. Thank you very much.

  • @rahmatfadhilah1143
    @rahmatfadhilah1143 2 หลายเดือนก่อน

    Thanks sir, very simple explanation

    • @omegacodex
      @omegacodex  2 หลายเดือนก่อน

      Welcome. Glad it was helpful

  • @22thh
    @22thh ปีที่แล้ว

    Thanks for the info shared, also please make a video on "deploy PHP application on Linux VM using deployment groups.

    • @omegacodex
      @omegacodex  ปีที่แล้ว

      Thanks for the suggestion. Sure.. will take it upcoming videos

  • @Brmmalesela
    @Brmmalesela 6 หลายเดือนก่อน +1

    Thank you

  • @irenemukii7969
    @irenemukii7969 11 หลายเดือนก่อน

    great explanation
    question: for my virtual machine I have multiple sites... how do I ensure my pipeline is directed to the site I want and not just the default site? any extra steps?

    • @omegacodex
      @omegacodex  11 หลายเดือนก่อน

      Thanks. For deploying to a specific site, you can use the Website name field in both IIS Web App Manage and IIS Web App Deploy tasks. By default, it's linked to Parameters.WebsiteName which u can find if you click on the stage name above the task list. You can either specify it there or click Unlink all to unlink the parameters and specify it individually on the Task.

    • @omegacodex
      @omegacodex  10 หลายเดือนก่อน

      You can refer this video for more explanation.
      Azure DevOps Deployment Groups: Common Questions Answered for Web App Deployment to IIS | OmegaCodex
      th-cam.com/video/w9KNMCn-59A/w-d-xo.html

  • @patrickmathew9283
    @patrickmathew9283 ปีที่แล้ว

    Thanks for the great video, there is one query that ,is there any setup for exclude certain files ?for example ,i do not want to deploy my config file to server, i want to exclude that file!

    • @omegacodex
      @omegacodex  ปีที่แล้ว

      In IIS Web App Deploy Task, we can use Additional Arguments section to mention folders or files to exclude something like shown below
      example:
      -skip:objectName=dirPath,absolutePath=wwwroot\\Uploads
      -skip:objectName=filePath,absolutePath=\\web.config'

    • @omegacodex
      @omegacodex  10 หลายเดือนก่อน

      You can refer this video for more explanation.
      Common Questions Answered for Web App Deployment to IIS
      th-cam.com/video/w9KNMCn-59A/w-d-xo.html

  • @adityapanday007
    @adityapanday007 11 หลายเดือนก่อน

    How we can create pipeline to deploy on IIS site's subside or subdolder?
    Also how to stop the site before deployment and starting same after deployment through pipeline?

    • @omegacodex
      @omegacodex  10 หลายเดือนก่อน

      For deploying to a subsite, you need to change the configuration type under stage name. Click on the stage name and you can find the option configuration type. Select ‘Web Application’ in that option. Then you will see a new field ‘virtual path’ below website name field. Enter the subfolder name here. Also you need to update physical path in manage task and update virtual app in deploy task
      You can set app offline by enabling ‘Take App Offline’ option in IIS WebApp Deploy Task. This will take your app offline before deployment.

    • @omegacodex
      @omegacodex  10 หลายเดือนก่อน

      You can refer this video for more explanation.
      Common Questions Answered for Web App Deployment to IIS
      th-cam.com/video/w9KNMCn-59A/w-d-xo.html

  • @sachindwivedi2313
    @sachindwivedi2313 6 หลายเดือนก่อน

    Hello sir, I am trying to create pipeline for on-premise dev-ops account with repository as TFS. I created CI pipeline, created target environment as the same VM under deployment group, but it failed to deploy through release pipeline i created, the error is: ERROR ( message:Configuration error
    Filename: redirection.config
    Line Number: 0
    Description: Cannot read configuration file due to insufficient permissions
    ##[error]Process 'appcmd.exe' exited with code '5'.
    Kindly Help

    • @omegacodex
      @omegacodex  5 หลายเดือนก่อน

      It could be because the user under which your agent is running doesn't have access to read redirection.config.
      What is Azure agent service running as? In Windows services and look for the agent, something like Azure Pipelines Agent and check as which user its running

  • @navroshkapoor
    @navroshkapoor ปีที่แล้ว

    Mine is stucked at 5:48 , it take time should i wait or there is some issue ? Ok now i get it we have to press enter !!

    • @omegacodex
      @omegacodex  ปีที่แล้ว +1

      glad it worked. :)

  • @amubikanunabdulsemiu679
    @amubikanunabdulsemiu679 5 หลายเดือนก่อน

    I can’t see Development group tool after clicking the pipeline

    • @omegacodex
      @omegacodex  5 หลายเดือนก่อน

      Which version of Azure Devops are you using ?

  • @ogahgodwin2390
    @ogahgodwin2390 5 หลายเดือนก่อน

    Please, can you share the code in this tutorial so that we can try replicate the same thing you have done.

    • @omegacodex
      @omegacodex  5 หลายเดือนก่อน

      Here it is. I have added it now to description as well.
      www.buymeacoffee.com/omegacodex/e/239549

    • @ogahgodwin2390
      @ogahgodwin2390 5 หลายเดือนก่อน

      @@omegacodex, Sorry, the link to the source code went to the buy coffee website. Or do we have to buy coffee before we can get it?

    • @omegacodex
      @omegacodex  5 หลายเดือนก่อน

      @@ogahgodwin2390 yes, its on buymeacoffee but its free download

  • @asafmaman5316
    @asafmaman5316 7 หลายเดือนก่อน

    I get the following error in "Download artifact" step - 2024-02-05T10:44:36.0522456Z ##[error]Failed in getBuildApi with error: Error: unable to verify the first certificate
    2024-02-05T10:44:36.1275105Z ##[error]Error: unable to verify the first certificate

    • @omegacodex
      @omegacodex  7 หลายเดือนก่อน

      It could be an issue with the build pipeline. Make sure you are using the correct task for publishing artifacts. Use Publish pipeline artifact instead of publish build artifacts

  • @finad-o2j
    @finad-o2j 11 หลายเดือนก่อน

    do i need public ip in my local server iis to host the application ?

    • @omegacodex
      @omegacodex  11 หลายเดือนก่อน

      No you don’t. When you install the agent, it connects to the DevOps instance. Thought your local server should be able to access Internet if you are using Az DevOps services.

    • @omegacodex
      @omegacodex  10 หลายเดือนก่อน

      You can refer this video for more explanation.
      Common Questions Answered for Web App Deployment to IIS
      th-cam.com/video/w9KNMCn-59A/w-d-xo.html