Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Latest commit

 

History

History
53 lines (26 loc) · 1.1 KB

File metadata and controls

53 lines (26 loc) · 1.1 KB

Jenkins CI docs - Maven steps

Prerequisites

Config Steps

00 - define new jenkins item

  • on Jenkins home, click on New item

jenkins home screen

  • select freestyle project and define item name mvn - Jenkins CI and Karma jUnit Report

jenkins new item

  • click on OK button

01 - source code management : git

  • select git

  • add repository url: https://github.com/erkobridee/jenkins-ci-and-karma-junit-reporter

jenkins git repo

02 - build

  • on Add Build step combobox select Invoke top-level Maven targets

  • define goal test

jenkins git repo

03 - post-build actions

  • on Add post-build action combobox select Publish JUnit test result report

  • on Test report XMLs field define tests_out/junit/**/*.xml

jenkins git repo

04 - save

  • click on save button at page bottom

Running one build

  • on Project home, at left sidebar menu click on Build Now