Skip to content

For an introductory Github Repo on how to use Jenkins to build a simple Java application with Maven and deploy to Artifactory

Notifications You must be signed in to change notification settings

kousikm/simple-java-maven-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-java-maven-app

This repository is for the Build a Java app with Maven tutorial in the Jenkins User Documentation.

The repository contains a simple Java application which outputs the string "Hello world!" and is accompanied by a couple of unit tests to check that the main application works as expected. The results of these tests are saved to a JUnit XML report.

The jenkins directory contains an example of the Jenkinsfile (i.e. Pipeline) you'll be creating yourself during the tutorial and the scripts subdirectory contains a shell script with commands that are executed when Jenkins processes the "Deliver" stage of your Pipeline.

The pom also has configuration of Artifact repository configured in local machine. You need to change the url/port to integrate with your local Artifactory to push the generated snapshot to artifactory.

This project is used in following demo for better understanding:

https://youtu.be/HhxKiAOLZ8U

About

For an introductory Github Repo on how to use Jenkins to build a simple Java application with Maven and deploy to Artifactory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 44.6%
  • Shell 34.3%
  • Groovy 21.1%