Skip to content

Commit

Permalink
Update JenkinsIntegration.md (#3885)
Browse files Browse the repository at this point in the history
Removed the github url of jenkins reporter because the reporter in that url is made for wdio v4.
Changed the npm install command to the correct one for wdio5.
  • Loading branch information
YannVerr authored and christian-bromann committed Apr 25, 2019
1 parent 45962bc commit 27b8c86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/JenkinsIntegration.md
Expand Up @@ -3,9 +3,9 @@ id: jenkins
title: Jenkins Integration
---

WebdriverIO offers a tight integration to CI systems like [Jenkins](https://jenkins-ci.org/). With the [junit reporter](https://github.com/webdriverio/wdio-junit-reporter) you can easily debug your tests as well as keep track of your test results. The integration is pretty easy.
WebdriverIO offers a tight integration to CI systems like [Jenkins](https://jenkins-ci.org/). With the `junit` reporter you can easily debug your tests as well as keep track of your test results. The integration is pretty easy.

First we need to define `junit` as test reporter. Also make sure you have it installed (`$ npm install --save-dev wdio-junit-reporter`) and that we save our xunit results at a place where Jenkins can pick them up. Therefore we define our reporter in our config as follows:
First we need to define `junit` as test reporter. Also make sure you have it installed (`$ npm install @wdio/junit-reporter --save-dev`) and that we save our xunit results at a place where Jenkins can pick them up. Therefore we define our reporter in our config as follows:

```js
// wdio.conf.js
Expand Down

0 comments on commit 27b8c86

Please sign in to comment.