1# Plugin Jenkins 2 3 4Dokuwiki plugin for Jenkins user. 5 6Features: 7 * Display last build of a Job or a specific build 8 * Display status of build 9 * Display "weather" of the Job 10 * Follow new Blue Ocean theme 11 12In future versions, it will allow you to trigger a job from Dokuwiki. 13 14# Requirements 15 16This plugin does not require any prerequisites. 17 18# Installation 19 20Download Redissue plugin into your `${dokuwiki_root}/lib/plugins` folder and restart dokuwiki. Or use the plugin manager of Dokuwiki. 21 22# Configuration 23 24You should configure Dokwuki-Jenkins in the Config Manager of Dokuwiki: 25 26* **jenkins.url**: Put your Jenkins url here, without a slash ending. i.e.: `http://my-jenkins.com`. 27* **jenkins.user**: Enter the ID of a Jenkins user, with the right to view any job.. 28* **jenkins.token**: Set the corresponding Jenkins user token. You can find it in `http://JENKINS_URL/user/USER/configure`, then click on `Show API Token`" button. 29 30# Syntax 31 32To use Dokuwiki-Jenkins, use the below syntax: 33 34```php 35<jenkins job="JOB_NAME" /> 36``` 37 38If you job is in a folder, please use it as follow: 39 40```php 41<jenkins job="FOLDER/JOB_NAME" /> 42``` 43 44By default, jenkins plugin display the last build of your job. If you want to display a specific build, you can by adding the build option: 45 46```php 47<jenkins job="FOLDER/JOB_NAME" build="459"/> 48``` 49 50# Preview 51 52![Plugin Preview](https://s1.postimg.org/olp2xm0f3/jenkins_preview.png) 53 54For further information, see also [Dokuwiki-Jenkins on dokuwiki.org](https://www.dokuwiki.org/plugin:jenkins) 55