Articles → AZURE DEVOPS → Create The Java Build Pipeline Using The Self-Hosted Agent In Azure Devops
Create The Java Build Pipeline Using The Self-Hosted Agent In Azure Devops
Creation Of Environment For Self-Hosted Agent
- JDK (latest version)
- Maven (https://maven.apache.org/download.cgi)
Click to Enlarge
Click to Enlarge
Click to Enlarge
Adding Code In The Repository
Click to Enlarge
Change In Pom.Xml
<?xml version="1.0" encoding="UTF-8"?><project
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"><modelVersion>4.0.0</modelVersion><groupId>org.springframework.samples</groupId><artifactId>spring-framework-petclinic</artifactId><version>5.1.3</version></project>
Edit The Pipeline
- Maven
- Copy Files To
- Publish Artifacts
Click to Enlarge
Click to Enlarge
Click to Enlarge
Click to Enlarge