I’ve also documented the new way of getting CI for contrib projects at: http://contrib.xwiki.org/xwiki/bin/view/Main/#HRequestingCI2FSnapshotbuildsforyourproject
Thanks -Vincent > On 6 Feb 2017, at 14:18, Vincent Massol <[email protected]> wrote: > >> >> On 1 Feb 2017, at 18:27, Vincent Massol <[email protected]> wrote: >> >> Ok it’s now done. >> >> If you’re curious: >> https://github.com/xwiki/xwiki-jenkins-pipeline/blob/master/vars/xwikiModule.groovy >> >> And here’s an example of using it: >> https://github.com/xwiki-contrib/application-faq/blob/master/Jenkinsfile >> >> Right now we have 3 repos being built by the Organisation Folder job for >> XWiki Contrib: >> http://ci.xwiki.org/view/Contrib/job/XWiki%20Contrib/ >> >> Next steps: >> 1) Convert all those builds: http://ci.xwiki.org/view/Contrib/ > > Done, see http://ci.xwiki.org/view/Contrib/ > > Thanks > -Vincent > >> 2) Setup an org rescan and research how it’s supposed to work (Seems things >> are also changing: https://jenkins.io/blog/2017/01/17/scm-api-2/). >> >> Thanks >> -Vincent >> >>> On 27 Jan 2017, at 16:56, Vincent Massol <[email protected]> wrote: >>> >>> Hi devs, >>> >>> I’ve started setting up GitHub organization jobs on ci.xwiki.org. One is >>> already set up for xwiki contrib: >>> http://ci.xwiki.org/job/XWiki%20Contrib/ >>> >>> What it means: >>> * Whenever a contrib project commits a Jenkinsfile (see example: >>> https://github.com/xwiki-contrib/syntax-markdown/blob/master/Jenkinsfile) >>> then automatically this project gets built by jenkins >>> * It works for all branches and is removed when branches are removed >>> >>> Now, I’m working on creating some shared pipeline libraries (see >>> https://github.com/jenkinsci/workflow-cps-global-lib-plugin) so that we can >>> avoid duplications in Jenkinsfile. So I need an SCM location for it and it >>> seems that it cannot be in a directory of an existing repo and it needs to >>> be in the root of a repo. >>> >>> Thus I’m proposing https://github.com/xwiki/xwiki-jenkins >>> >>> WDYT? >>> >>> Note: we could also use xwiki-contrib but it would be a bit weird to use >>> that for building xwiki org repos and my plan is to move to Jenkinsfile >>> also for repos in the xwiki GitHub org (commons, rendering, etc). >>> >>> Thanks >>> -Vincent

