Azure DevOps - Lesson 25 | Azure CI/CD Pipelines for Java | Deploy Web Application in Azure|

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 66

  • @naren06938
    @naren06938 9 месяцев назад +1

    U done very detailed manner, bjt finally u haven't run & show full pipeline once again

  • @navyashree5274
    @navyashree5274 4 года назад +2

    Hello Ravikanth
    Thanks for such a helpful and detailed explanation

  • @ananthmaddur1200
    @ananthmaddur1200 3 года назад +1

    Superb and fantastic Sir.

  • @SureshKumar-no7rs
    @SureshKumar-no7rs 4 года назад +1

    Hi Ravi, Thanks a lot for this video. I'm able to setup build pipeline for my project :)
    And after some troubleshooting with below items, I was able to do a successful build for my selenium tests
    1. Agent pool was not configured - later requested dev ops team to configure it
    2. Configured Agent Pool doesn't have maven, java installed - later installed
    3. Java, Maven path wasn't set in environment variables in the server - Later identified the issue and updated
    4. Chrome version wasn't updated to latest version (it has 67) - Updated to ver84 to resolve the error 'session not created'
    Thanks again!!!

    • @RavikanthReddy
      @RavikanthReddy  4 года назад

      Awesome Suresh. Please subscribe to my channel. Happy that you are able to configure Local agent successfully. Mostly organizations will have proxy restrictions while building agent. Hope you have taken care all those. Thank you!

    • @sureshkumarkothandam8527
      @sureshkumarkothandam8527 4 года назад +1

      Yes Ravi, we also encountered the proxy issue and later it was resolved by our network team. Thank you Ravi...
      I have subscribed to your channel:)

    • @sureshkumarkothandam8527
      @sureshkumarkothandam8527 4 года назад +1

      Hi Ravi, I am using extent reports for my Selenium scripts. It works fine in my local. But report is not generated when I execute it through Azure dev ops. Any solution for this?

    • @RavikanthReddy
      @RavikanthReddy  4 года назад +1

      @@sureshkumarkothandam8527 Are you creating pushing artifacts to Azure Pipeline? If not, please push artifacts to pipeline using the new task 'Publish Build Pipeline Artifacts'

    • @sureshkumarkothandam8527
      @sureshkumarkothandam8527 4 года назад

      Ravikanth Reddy Thanks for your reply Ravi. I will check for this push option.

  • @pratikshak987
    @pratikshak987 4 года назад +1

    very very very nice explanation. I hope I will be able to implement this.

    • @RavikanthReddy
      @RavikanthReddy  4 года назад

      Thanks Pratiksha, Please subscribe to my channel

    • @pratikshak987
      @pratikshak987 4 года назад

      @@RavikanthReddy I have already.

  • @amarnadendla374
    @amarnadendla374 3 года назад +1

    Thanks for the video brother, learned much needed topic.

    • @RavikanthReddy
      @RavikanthReddy  3 года назад

      Glad you liked the video!! Please subscribe to my channel.

  • @BheemKonduru
    @BheemKonduru 4 года назад +1

    Hi Ravi, Thanks, this video is really helpful.

    • @RavikanthReddy
      @RavikanthReddy  4 года назад

      Please subscribe to my channel. Soon publishing more videos

  • @abayomiowolarafe8176
    @abayomiowolarafe8176 2 года назад

    Thanks for this video.
    Could you kindly add a little description of what the Java application does (function) so that beginners can fully understand the implication of the Demo is?

  • @sanikajoshi5415
    @sanikajoshi5415 4 года назад +1

    Good explanation. Thank you

  • @naragoud428
    @naragoud428 3 года назад +1

    Super.Thanks

  • @harishmagalingam5425
    @harishmagalingam5425 10 месяцев назад

    Hi Ravi as you said my pipeline is executed successfully as per the plan. But I am unable to see the controller response in browse page getting 404 error kindly anyone please help in this

  • @kodellibose1096
    @kodellibose1096 2 года назад +1

    thanks bro..🤩

  • @ganeshkama2899
    @ganeshkama2899 8 месяцев назад

    Hi sir.. as a tester i want to see how automations scripts will be triggered and run.. based on results wheatear we deploy app or not.. that we need to know

  • @naragoud428
    @naragoud428 3 года назад +1

    Nice...Thank you

  • @JosephJeethu
    @JosephJeethu 3 года назад

    On the Release > Deployment Process Step > Start up Command > Add this command to make it working "java -jar /home/site/wwwroot/gs-spring-boot-0.1.0.jar" without quotes.

  • @karthiksurvepalli5695
    @karthiksurvepalli5695 4 года назад +1

    Perfect Ravikanth ,keep up the good work Quick question -artifact can be git .git path also?

    • @RavikanthReddy
      @RavikanthReddy  4 года назад +1

      I don't think it can be git Path. I will have to research more on this Karthik

  • @Kishore-jz2sp
    @Kishore-jz2sp 4 года назад +1

    Thanks for the session.Any video on how to configure the SonarQube endpoint as part of the Maven task?

  • @EV_Techie
    @EV_Techie 4 года назад +1

    Hi Sir I am facing problem with Chromedriver path in Azure pipelines. please reply what path we need to enter so that It can accept chromedriver. Currently error shows the executable driver doen't exist on full path.

    • @RavikanthReddy
      @RavikanthReddy  4 года назад

      Hi, you have to keep the chrome .exe file with in the project folder and specify the relative or absolute path of the file while invoking browser

    • @RavikanthReddy
      @RavikanthReddy  4 года назад

      Please subscribe to my channel for more info

  • @shaikabdulrahemanshaik490
    @shaikabdulrahemanshaik490 4 года назад +1

    Hi Ravi,
    In my current project we have already a build pipeline. For that build pipeline if I add another stage for automation testing in that stage if I add Maven task, my automation script will run on Maven in cloud?

    • @RavikanthReddy
      @RavikanthReddy  4 года назад

      Yes, you have to enable QA mavem pipeline to run after completing build pipeline

  • @babukandyala8161
    @babukandyala8161 4 года назад +1

    Thanks for your session, and can you please post video on..After Building .jar/.war i need to push to nexus repo manager

  • @amarkitta
    @amarkitta 4 года назад

    Hi Ravi can you please share the video in which you can showcase how to change artifact repo from azure to nexus

  • @shibadattmishra8597
    @shibadattmishra8597 4 года назад

    Hi Ravikanth, I am going thru a multi stage deployment(Dev-PPE-Prod) in CD pipeline where i have 1 abc.config & 1 xyz.js file needs to be excluded from the deployment process. i know there is something called "Additional Arguments" under IIS Web App Deploy task in CD phase but not sure how to do this. Would appreciate your help on this

  • @shaikkareemulla4346
    @shaikkareemulla4346 2 года назад

    nice video, can we deploy Springboot with react in azure?

  • @shaikabdulrahemanshaik490
    @shaikabdulrahemanshaik490 4 года назад +1

    Hi Ravi,
    I executed automation script in Azure, can you guide me how to check how many test cases are executed ?

    • @RavikanthReddy
      @RavikanthReddy  4 года назад +1

      If you are running pipeline, we just need to click on pipeline that you ran and you should see your test results (JUnit or TestNG)

    • @shaikabdulrahemanshaik490
      @shaikabdulrahemanshaik490 4 года назад

      @@RavikanthReddy Can you please share me the sample results or any screenshot, I am unable to find.

    • @RavikanthReddy
      @RavikanthReddy  4 года назад +1

      Please send a test email to my email address specified on RUclips channel page

    • @shaikabdulrahemanshaik490
      @shaikabdulrahemanshaik490 4 года назад

      @@RavikanthReddy I sent an email to you.

  • @uttamghorai5461
    @uttamghorai5461 4 года назад

    Hi Ravi , I have followed same steps you have described. But after deployment Default web service page is displaying.Application message is not getting displayed.

    • @truptikamble2869
      @truptikamble2869 4 года назад

      Hello Ravi, I am even facing the same issue. Can you please help here?

  • @AmitaGulia
    @AmitaGulia 4 года назад

    Thanks for the video.
    Can you also share something about integrating appium with Selenium(Cucumber) test framework with azure pipeline?

  • @newsarrow2312
    @newsarrow2312 4 года назад

    Hi Ravi
    Have followed the same steps my CD deployment was successful but after hitting App service URL i am not getting my endpoint output after clicking on refresh button in app service browser. it sends me to deployment center screen which says you app is up and running. nothing more than this. is there anything more to add ?

  • @arvindkaushik8103
    @arvindkaushik8103 4 года назад

    Hi Ravi, following your video (including your source code) point-to-point, though results in a successful deployment, but I can't see the updated webpage. Azure Web Service display the default page in the browser. I'v tried other java/springboot projects too, but the same result. Now sure what's wrong

    • @sr6043
      @sr6043 4 года назад

      Hi, Have you found the solution on it as seeing the same default webpage

    • @arvindkaushik8103
      @arvindkaushik8103 4 года назад

      @@sr6043 Yes.. Since I was building a java springboot application, I executed the startup command 'java -jar both during creating the build pipeline and also in the azure web app configuration.
      ex. java -jar /home/site/wwremote/xyz.jar

    • @sr6043
      @sr6043 4 года назад

      @@arvindkaushik8103 Thanks! where do we need to execute startup command?
      java -jar _Java-Web-API-Maven-CI/drop/Springboot-se2-api-demo-1/target/se2-cruddemo-cicd-0.0.1-SNAPSHOT.jar

    • @arvindkaushik8103
      @arvindkaushik8103 4 года назад +1

      @@sr6043 the startup command needs to be provided in the 1st step while defining your release pipeline
      ex. java -jar /home/site/wwwroot/

    • @priyaonthego
      @priyaonthego 3 года назад

      @@arvindkaushik8103 hey..while defining in the sense? in azure app service task where we need to provide the jar command?

  • @sidwar
    @sidwar 3 года назад

    github?

  • @AnickRazibul
    @AnickRazibul 4 года назад +1

    Hi Ravi,
    This is very helpful tutorial. Much appreciated. Thank you very much. I have a quick question though; when you trigger Automated test; how do you ensure that you have specific browser (i.e. chrome ) in that specific agent specially when you run on cloud agent? If you need to install a browser; can this install be a part of pipeline?
    Again thank you so much for your valuable time and effort!
    -best regards,
    Anu

    • @dumbledore192
      @dumbledore192 4 года назад

      Anu Anick you need to have Pom referees to webdrivermanager

  • @eliassal1
    @eliassal1 2 года назад

    Hello Ravikanth, I followed your instructions on Azure devops on prem but it is failing on test activity, (I have maven on my build machine, is there anything I need to setup on my self-hosted build machine? ) Here is the error 2022-10-06 15:00:08.522 INFO 19416 --- [ main] hello.HelloControllerTest : Starting HelloControllerTest on salam7 with PID 19416 (started by salam in C:\Projects\agent-AzureDevOps2K20Update15\_work\11\s\app)
    2022-10-06 15:00:08.524 INFO 19416 --- [ main] hello.HelloControllerTest : No active profile set, falling back to default profiles: default
    2022-10-06 15:00:08.648 INFO 19416 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@7331196b: startup date [Thu Oct 06 15:00:08 CEST 2022]; root of context hierarchy
    2022-10-06 15:00:10.662 ERROR 19416 --- [ main] o.s.boot.SpringApplication : Application run failed
    java.lang.IllegalStateException: Cannot load configuration class: hello.Application
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:414) ~[spring-context-5.0.9.RELEASE.jar:5.0.9.RELEASE]