hudson.slaves.Cloud reference plugin

17 views
Skip to first unread message

Suresh Reddy

unread,
Jul 14, 2019, 12:35:34 AM7/14/19
to Jenkins Developers

I'm looking for suggestions on which plugin I need to refer to implement hudson.slaves.Cloud? Google search returns many implementations 
https://www.programcreek.com/java-api-examples/?api=hudson.slaves.Cloud


Asking for suggestions here since I heard from the community members saying  "all Cloud implementations are broken" , see comment

https://issues.jenkins-ci.org/browse/JENKINS-27514?focusedCommentId=233937&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-233937


I'm hoping that there is at least one cloud plugin which implemented in correct way.


Question: 
Is there any Cloud plugin in Jenkins eco system which has correct implementation? I am curious about the details since we are planning to write provisioning service to share build agents with different CI systems (Jenkins and TeamCity) mainly Mac Minis.

Oliver Gondža

unread,
Jul 15, 2019, 2:53:34 PM7/15/19
to jenkin...@googlegroups.com
On 14/07/2019 06.35, Suresh Reddy wrote:

> *Question: *
> Is there any Cloud plugin in Jenkins eco system which has correct
> implementation? I am curious about the details since we are planning to
> write provisioning service to share build agents with different CI
> systems (Jenkins and TeamCity) mainly Mac Minis.

I am far from suggesting that our implementation is correct (albeit
working fine), but you might be interested there exist a jenkins
solution to share build nodes as-is[1]. It communicates using JSON based
REST API. It would probably be tricky to fool it into accepting TeamCity
as a client (as it talks back to the client using Jenkins API you would
have to partially mimic on TeamCity side), but does not seem impossible.
It might work as a healthy core in case you fail to get rid of TeamCity
(which is what I recommend :P) saving you large part of the work.

[1] https://wiki.jenkins.io/display/JENKINS/Node+Sharing+Plugin
--
oliver
Reply all
Reply to author
Forward
0 new messages