Multi-platform and multi-compiler setup

24 views
Skip to first unread message

Joel Bodenmann

unread,
Nov 24, 2020, 10:27:39 AM11/24/20
to go-cd
Hello folks,

Currently I use Jenkins for CD. It has been quite pain to setup and continues to be a pain to maintain. I started looking into GoCD as an alternative with the intend of keeping Jenkins for CI and using GoCD for CD.

I managed to get GoCD up and running without any issues what so ever - thanks GoCD developers!

My question: What is the intended/preferred/recommended way to implement multi-platform and multi-compiler pipelines/builds? In jenkins I use declarative pipelines with the matrix support to define a matrix (table) of possible platform & compiler combinations.

How does one achieve this behavior with GoCD? I'd appreciate it if somebody could tell me which techniques/plugins/methodologies to use.

To give this some context: I have about 10 different projects, each of which needs to be compiled on Linux, FreeBSD and Windows, with builds for GCC and Clang on each platform.

Ketan Padegaonkar

unread,
Nov 24, 2020, 11:00:06 AM11/24/20
to go...@googlegroups.com
With GoCD, you'd typically configure a pipeline with several jobs which run across different gocd agents and use different combinations of OSes and compilers of your choice. This document talks about some concepts behind gocd — you'd want to look at the resources section understand this better.

- Ketan



--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/0f0a9b63-1814-4d6f-afb3-a9904b96c2afn%40googlegroups.com.

Joel Bodenmann

unread,
Nov 24, 2020, 11:19:05 AM11/24/20
to go-cd
Thank you for pointing me towards resources. That's certainly something I need/want.

Is there a way of automatically generating the individual platform + compiler jobs in my pipeline "build" stage? I'd like a solution where I don't have to manually create/define a job for each Platform + Compiler option.

Ketan Padegaonkar

unread,
Nov 24, 2020, 11:32:30 AM11/24/20
to go...@googlegroups.com
You should be able to use the groovy plugin to generate a configuration you require based on some basic looping.




- Ketan



Reply all
Reply to author
Forward
0 new messages