Changes for page Continuous Integration

Last modified by Vincent Massol on 2023/04/25 14:02

From version 27.1
edited by Vincent Massol
on 2019/03/28 18:52
Change comment: There is no comment for this version
To version 28.1
edited by Vincent Massol
on 2019/04/02 15:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -25,7 +25,6 @@
25 25  
26 26  We have developed a {{scm project="xwiki-jenkins-pipeline" path="vars/xwikiModule.groovy"}}Jenkins Pipeline script{{/scm}} to build XWiki projects (can be used for core and contrib projects). It has the following features:
27 27  
28 -* Automatically build branches when new branches are added (or Pull Requests). Automatically stop building branches when they are removed from the SCM.
29 29  * Automatically use the right version of Java (and proper memory configuration)
30 30  * Use Jenkins's Xvnc plugin to have a Display for functional tests
31 31  * Use the "deploy" maven goal for "master" and "stable-*" branches only and "install" for the rest
... ... @@ -33,6 +33,8 @@
33 33  * Check for false positives for known cases of failures not related to code + [[check for test flickers>>http://massol.myxwiki.org/xwiki/bin/view/Blog/FlakyTestTool]]
34 34  * Send mails for build failures
35 35  
35 +Note that if you use a "Github Organization" job type in Jenkins you'll get branch management for free, i.e. automatically build branches when new branches are added (or Pull Requests), and automatically stop building branches when they are removed from the SCM.
36 +
36 36  To use is for a project, add a ##Jenkinsfile## with the following minimal configuration:
37 37  
38 38  {{code language="groovy"}}

Get Connected