Build with Jenkins in Azure

Create a job in Jenkins

Create a Freestyle project in Jenkins to build the Spring PetClinic Application.

  1. Within the Jenkins dashboard, click New Item.
  2. Enter demoproject1 for the name and select Freestyle project, then select OK.
  3. In the General tab, choose Restrict where project can be run and type ACI-container in Label Expression. You see a message confirming that the label is served by the cloud configuration created in the previous step. Set up job
  4. In the Source Code Management tab, select Git and add the following URL into the Repository URL field: https://github.com/spring-projects/spring-petclinic.git
  5. In the Build tab, select Add build step, then Invoke top-level Maven targets. Enter package in the Goals field.
  6. Select Save to save the job definition.

I ran into an issue I have created my job in Jenkins