Skip to content

DevOps77aws/sample-java-maven-jenkins-nexus-sonar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub top language GitHub last commit (branch)

sample-java-maven-jenkins-nexus-sonar

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.

Plugins Jenkins requires:

  • artifact-promotion
  • Maven Artifact ChoiceListProvider (Nexus)
  • Maven Release Plug-in Plug-in
  • Nexus Artifact Uploader
  • Nexus Platform Plugin
  • Pipeline Utility Steps
  • Pipeline: GitHub Groovy Libraries
  • SonarQube Scanner for Jenkins

How install plugins:

  • Open URL http://ip_server_jenkins:8080/pluginManager/available

Sample on Jenkins: alt text


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published