[Proposal] Create a xwiki-jenkins repo in the xwiki GitHub org

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Proposal] Create a xwiki-jenkins repo in the xwiki GitHub org

vmassol
Administrator
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

Reply | Threaded
Open this post in threaded view
|

Re: [Proposal] Create a xwiki-jenkins repo in the xwiki GitHub org

Thomas Mortagne
Administrator
+1

On Fri, Jan 27, 2017 at 4:56 PM, Vincent Massol <[hidden email]> 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
>



--
Thomas Mortagne
Reply | Threaded
Open this post in threaded view
|

Re: [Proposal] Create a xwiki-jenkins repo in the xwiki GitHub org

Marius Dumitru Florea
In reply to this post by vmassol
+1

Thanks,
Marius

On Fri, Jan 27, 2017 at 5:56 PM, Vincent Massol <[hidden email]> 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
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [Proposal] Create a xwiki-jenkins repo in the xwiki GitHub org

vmassol
Administrator
In reply to this post by vmassol
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/
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 <[hidden email]> 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
>

Reply | Threaded
Open this post in threaded view
|

Re: [Proposal] Create a xwiki-jenkins repo in the xwiki GitHub org

vmassol
Administrator

> On 1 Feb 2017, at 18:27, Vincent Massol <[hidden email]> 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 <[hidden email]> 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
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [Proposal] Create a xwiki-jenkins repo in the xwiki GitHub org

vmassol
Administrator
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 <[hidden email]> wrote:
>
>>
>> On 1 Feb 2017, at 18:27, Vincent Massol <[hidden email]> 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 <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: [Proposal] Create a xwiki-jenkins repo in the xwiki GitHub org

vmassol
Administrator
One thing that’s left is to update the CI status badges in the README.md pages for contrib apps.

I’ve fixed a few but it’s a lot of work and I would welcome some help. So if you have some contrib project, it would be nice if you could check them and update the README and use the URLs mentioned at http://contrib.xwiki.org/xwiki/bin/view/Main/WebHome#HREADME.mdTemplate

Sorry about the trouble.
Thanks
-Vincent

> On 6 Feb 2017, at 14:28, Vincent Massol <[hidden email]> wrote:
>
> 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 <[hidden email]> wrote:
>>
>>>
>>> On 1 Feb 2017, at 18:27, Vincent Massol <[hidden email]> 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 <[hidden email]> 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
>