Skip to content
For an introductory tutorial on how to use Jenkins to build a simple Java application with Maven.
Java Shell Groovy
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of jenkins-docs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
jenkins
src
.gitattributes
.gitignore
Dockerfile.build
Jenkinsfile
README.md
pom.xml

README.md

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.

You can’t perform that action at this time.