Re: [go-cd] Cannot run agent in MSYS2

2020-11-24 Thread Sushma Gangaiah
Hi All, Very oftenly pipeline cannot be triggered and material update in master will get hunger for long. How can I resolve this? Regards, Sushma On Tue, Nov 24, 2020, 10:15 PM Joel Bodenmann wrote: > I've been testing GoCD today. One of my main requirements is that the > Windows agent(s) can

[go-cd] Re: Cannot run agent in MSYS2

2020-11-24 Thread Jason Smyth
Hi Joel, I can't say for sure that it is possible because I am not familiar with MSYS2. GoCD's Task is effectively a wrapper around a command that gets passed to (I think) cmd.exe on Windows. Assuming there is a way to launch MSYS2 (and pass it an instruction set) from the command line it shou

[go-cd] Re: Cannot run agent in MSYS2

2020-11-24 Thread Joel Bodenmann
Jason, Thank you for your reply. I am completely new to GoCD. If I can configure the agent to run all tasks within the MSYS2 / MinGW64 shell then things will work and the agent itself does not need to run inside MSYS2. The reason I attempted to run it inside MSYS2 is because I noticed that the

[go-cd] Re: Cannot run agent in MSYS2

2020-11-24 Thread Jason Smyth
Hello, I'm not familiar with MSYS2 so maybe I am missing an obvious point but why is it necessary that the Agent process itself run within MSYS2? Can the Agent process not just launch a child MSYS2 process if the Job requires it? Regards, Jason On Tuesday, 24 November 2020 at 11:45:22 UTC-5 t

[go-cd] Cannot run agent in MSYS2

2020-11-24 Thread Joel Bodenmann
I've been testing GoCD today. One of my main requirements is that the Windows agent(s) can perform builds within MSYS2 (unix environment). To get started I've opened an MSYS2 / MinGW64 terminal and pasted the "Test Drive GoCD" line in there. Everything worked out of the box. The script properly

Re: [go-cd] Multi-platform and multi-compiler setup

2020-11-24 Thread Ketan Padegaonkar
You should be able to use the groovy plugin to generate a configuration you require based on some basic looping. https://github.com/gocd-contrib/gocd-groovy-dsl-config-plugin. There's an example that you may find useful: https://github.com/gocd-contrib/gocd-groovy-dsl-config-plugin/blob/master/ex

Re: [go-cd] Multi-platform and multi-compiler setup

2020-11-24 Thread Joel Bodenmann
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 + Compil

Re: [go-cd] Multi-platform and multi-compiler setup

2020-11-24 Thread Ketan Padegaonkar
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

[go-cd] Multi-platform and multi-compiler setup

2020-11-24 Thread Joel Bodenmann
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 eve