Using the IP address, open the following URL in a browser: http://<ip_address>:8080
Enter the password you retrieved earlier and select Continue.
Select Select plug-in to install.
In the filter box at the top of the page, enter github. Select the GitHub plug-in and select Install.
Enter the information for the first admin user and select Save and Continue.
On the Instance Configuration page, select Save and Finish.
Select Start using Jenkins.
5. Create your first job
On the Jenkins home page, select Create a job.
Enter a job name of mySampleApp, select Freestyle project, and select OK.
Select the Source Code Management tab. Enable Git and enter the following URL for the Repository URL value: https://github.com/spring-guides/gs-spring-boot.git. Then change the Branch Specifier to */main.
Select the Build tab, then select Add build step
From the drop-down menu, select Invoke Gradle script.
Select Use Gradle Wrapper, then enter complete in Wrapper location and build for Tasks.
Select Advanced and enter complete in the Root Build script field.
Scroll to the bottom of the page, and select Save.
6. Build the sample Java app
When the home page for your project displays, select Build Now to compile the code and package the sample app.
A graphic below the Build History heading indicates that the job is being built.
When the build completes, select the Workspace link.
Navigate to complete/build/libs to see that the .jar file was successfully built.
Your Jenkins server is now ready to build your own projects in Azure!
Troubleshooting
If you encounter any problems configuring Jenkins, refer to the Jenkins installation page for the latest instructions and known issues.
Συμμετάσχετε στη σειρά meetup για να δημιουργήσετε κλιμακούμενες λύσεις AI που βασίζονται σε πραγματικές περιπτώσεις χρήσης με συναδέλφους προγραμματιστές και ειδικούς.
Start here and learn how you can build, migrate and scale Java applications on Azure using Azure services. Use tools and frameworks that you know and love – Spring, Tomcat, WildFly, JBoss, WebLogic, WebSphere, Maven, Gradle, IntelliJ, Eclipse, Jenkins, Terraform and more.
Build end-to-end solutions in Microsoft Azure to create Azure Functions, implement and manage web apps, develop solutions utilizing Azure storage, and more.