- Must have Apache Maven installed
- on Jenkins home, click on New item
- select
freestyle project
and define item namemvn - Jenkins CI and Karma jUnit Report
- click on OK button
-
select git
-
add repository url:
https://github.com/erkobridee/jenkins-ci-and-karma-junit-reporter
-
on
Add Build step
combobox selectInvoke top-level Maven targets
-
define goal
test
-
on
Add post-build action
combobox selectPublish JUnit test result report
-
on
Test report XMLs
field definetests_out/junit/**/*.xml
- click on save button at page bottom
- on Project home, at left sidebar menu click on
Build Now