Thanks for this very helpful tutorial, I tried it but the CD pipeline deployment doesn't work properly. It's due to the actual version of azure or a missing config. So the deployment just copy the jar file to wwwroot folder of the azure app service without firing up the spring app. What I did I replaced the azure web service by an API App in the portal, I ve configured the java stack and finally i associated the Api app to the CD pipeline. Now it works for me . Thanks
Great video, thanks! A quick question, in which cases would you prefer to deploy the java spring boot application as a container in a Web App? In this case you need to modify the artifact generation, I guess.
Thanks for the demo. Please can you tell me how to get the pom file also as the artifact. Here in your example, I need the gs-spring-boot-0.1.0.pom. Please let me know how to get it in the drop folder.
Hi Houssem, 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
Can someone please help me understand which servlet container we are deploying this jar file. Is it not a web application where it is supposed to be bundled as .war and deployed as web app. Slightly confused. Any help here will be highly appreciated.
Hii thank you for the video, when i try to run release pipeline it shows an error "No package found with specified pattern: C:\agent\_work 2\a\**\*.zipCheck if the package mentioned in the task is published as an artifact in the build or a previous stage and downloaded in the current job." Could you plz help me with this..
Hey Thank you for your video , very informative . do you have a video where we can install certificate in java cacert file using keytool command on azure app service. E.g. we can add trusted certificate in docker image like RUN keytool -import -alias -keystore /usr/local/openjdk-11/lib/security/cacerts -file /usr/local/openjdk-11/lib/security/.cer -storepass changeit -noprompt . but how to add it in app service image. If we manually install trusted certificate on app service VM by login via SSH , its gets vanished after restart of app service ? do you know any alternate way to add step in pipeline to add such certificate in JAVA on ASE?
I kept SOnacube for code analysis. but build failed cant reach 9090 local host ... how to solve this problm. shld i install sonarcube in my localsystem??
how to configure maven pom and deploy settings after runnning one pipeline ? Can't find how to again edit maven settings and agent job after running pipeline for the 1st time
This was very helpful. Thanks for everything! Just one quick question. I can deploy the app successfully but for some reason the web page will not get updated to the greeting after deployment. Is there any reason why this might be?
Update Startup command with java -jar /home/site/wwwroot/your-project-0.0.1-SNAPSHOT.jar in Release pipeline under Azure App Service Deploy in order to see the deployed web page.
Hi!! I´m from C# and pretty new to xamarin. I would like to access a mysql remote database using xamarin forms without API I wanted to do it directly just like you do with C# here´s an example: string connetionString = "server=xxxxxxx;database=xxxxxx;uid=xxxxx; pwd=xxxxxx; convert zero datetime=True"; MySqlConnection cnn = new MySqlConnection("server=xxxxxxx;database=xxxxxx;uid=xxxxx; pwd=xxxxxx; convert zero datetime=True"); and than: cnn.open(); this is not working and it shows the following error: System.TypeInitializationException: The type initializer for 'MySql.Data.MySqlClient.Replication.ReplicationManager' threw an exception. can U help me?
@Houssem Dellai . I am getting "Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project " . but it is successfully running on local.
Hi Houssen dellai, your video is very nice and instead of git how to use tfs as a version control in this case, could u plz create one video for this ?
When selecting the location from where to get the source code, choose Azure Git, then you will have a list box to choose the repository, pick the TFVC one
hey hi i hava one dought ,i can create a ci but i got all dll files in publish artifacts . i need zip files type,how can i get that zip files type can please clarify the dought.
Update Startup command with java -jar /home/site/wwwroot/your-project-0.0.1-SNAPSHOT.jar in Release pipeline under Azure App Service Deploy in order to see the deployed web page.
Maven Build and CD for Java application through Azure DevOps pipeline, Very Good. Thank you
Very good explain, quickly, deep and clear...
thank you for this great explanation
very much useful ...and precise ....tysm !
I learnt something today
Thank you for this video, excellent explained.
Thanks! Really helped.
Very useful brother !!
clearly explained thank you so much i have search for this kind of explanations
Very Good Thank You, when do some changes in master branch there no automatically build run based on CI/CD .Please help me.
Great video
thanks for this detailed video this is really helpful
Informative video! Can you also please create one video for deploying war file on Azure web app using azure devops
Thanks for this very helpful tutorial, I tried it but the CD pipeline deployment doesn't work properly. It's due to the actual version of azure or a missing config. So the deployment just copy the jar file to wwwroot folder of the azure app service without firing up the spring app. What I did I replaced the azure web service by an API App in the portal, I ve configured the java stack and finally i associated the Api app to the CD pipeline. Now it works for me . Thanks
shomer, can you please details the steps. I'm also failing to launch the springboot apps after a successful deployment
Very useful video, thanks a lot
Thanks... Nice video
Great video, thanks! A quick question, in which cases would you prefer to deploy the java spring boot application as a container in a Web App? In this case you need to modify the artifact generation, I guess.
Even i have the same question - Houssem Dellai - could you please clarify when and which cases to use web app, storage containers etc., and why
IF we are runing via Webapp service then how maven is installed in that ?? becos it is maintained by AZure only right.
Thanks for the demo. Please can you tell me how to get the pom file also as the artifact. Here in your example, I need the gs-spring-boot-0.1.0.pom. Please let me know how to get it in the drop folder.
Nice Video... Please suggest on how to build the multi-module maven project in an azure build pipeline
Hi there, thanks for this video. Just wanted to ask, would Publish Artifact be enough for me to use third party .jar files?
Hi Houssem, 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
same here
need to add startup cmd like java -jar /home/site/wwwroot/spring-boot-0.0.1-SNAPSHOT.jar in app service
this is very informative. thank you
Thanks! excellent explain!
Can someone please help me understand which servlet container we are deploying this jar file. Is it not a web application where it is supposed to be bundled as .war and deployed as web app. Slightly confused. Any help here will be highly appreciated.
Great Explanation
Hii thank you for the video, when i try to run release pipeline it shows an error "No package found with specified pattern: C:\agent\_work
2\a\**\*.zipCheck if the package mentioned in the task is published as an artifact in the build or a previous stage and downloaded in the current job." Could you plz help me with this..
can you create one video on using a different agent other than the agent provided by the azure
Hey Thank you for your video , very informative . do you have a video where we can install certificate in java cacert file using keytool command on azure app service. E.g. we can add trusted certificate in docker image like RUN keytool -import -alias -keystore /usr/local/openjdk-11/lib/security/cacerts -file /usr/local/openjdk-11/lib/security/.cer -storepass changeit -noprompt . but how to add it in app service image. If we manually install trusted certificate on app service VM by login via SSH , its gets vanished after restart of app service ? do you know any alternate way to add step in pipeline to add such certificate in JAVA on ASE?
Hi Can you expalin how can push the created JAR file to Same GitHub Repository.
I kept SOnacube for code analysis. but build failed cant reach 9090 local host ... how to solve this problm.
shld i install sonarcube in my localsystem??
I can't find maven in templates. Is this something they removed?
how to configure maven pom and deploy settings after runnning one pipeline ? Can't find how to again edit maven settings and agent job after running pipeline for the 1st time
How can I combine Java app with SQL db into one pipeline?
Please do video on end to end deployment on Kubernetes
thanks
This was very helpful. Thanks for everything! Just one quick question. I can deploy the app successfully but for some reason the web page will not get updated to the greeting after deployment. Is there any reason why this might be?
Same issue here :(
I've manage to fix the issue by creating a tomcat server and added to pom file an WAR
Update Startup command with java -jar /home/site/wwwroot/your-project-0.0.1-SNAPSHOT.jar in Release pipeline under Azure App Service Deploy in order to see the deployed web page.
@@sabhi909 Startup command tag is not highlighting. how to make it enable
Hi!!
I´m from C# and pretty new to xamarin.
I would like to access a mysql remote database using xamarin forms without API
I wanted to do it directly just like you do with C#
here´s an example:
string connetionString = "server=xxxxxxx;database=xxxxxx;uid=xxxxx; pwd=xxxxxx; convert zero datetime=True";
MySqlConnection cnn = new MySqlConnection("server=xxxxxxx;database=xxxxxx;uid=xxxxx; pwd=xxxxxx; convert zero datetime=True");
and than: cnn.open();
this is not working and it shows the following error:
System.TypeInitializationException: The type initializer for 'MySql.Data.MySqlClient.Replication.ReplicationManager' threw an exception.
can U help me?
@Houssem Dellai . I am getting "Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project " . but it is successfully running on local.
when you create the pipeline a yaml file is created just change the jdkcompler to 11
Can you show how to do the monitoring in azure like how Nagios do.
Hi Houssen dellai, your video is very nice and instead of git how to use tfs as a version control in this case, could u plz create one video for this ?
When selecting the location from where to get the source code, choose Azure Git, then you will have a list box to choose the repository, pick the TFVC one
The agent is installed on a docker container, not a VM
i am new to visual studio and i wan to open a sample java code for CI/CD pipeline. any one will you please help me
Hello,Beautiful explanation! could you please share your github link for this project.Thanks
Hello!, Houssem Thank for this video, you can help us about how configure a Agent for Java?
Make a video on Justification of label text in xamarin forms
Thank you..
The example doesnt work, I can't see the hello message in java, I put you a comment in the Udemy in the course, please, help me! -- I need this works
did you got a reponse
I'm also facing same problem.Did u get any update pls share with me.
Great!!!
Man, you're Tunisian right?
hey hi i hava one dought ,i can create a ci but i got all dll files in publish artifacts . i need zip files type,how can i get that zip files type can please clarify the dought.
🌹🌹🌹
The whole process is too complicated; it should be abbreviated
The process is extremely easy. He is just explaining most of the defaults to give added value.
Update Startup command with java -jar /home/site/wwwroot/your-project-0.0.1-SNAPSHOT.jar in Release pipeline under Azure App Service Deploy in order to see the deployed web page.