Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Jan 31 2019 21:37
    ibnc synchronize #5756
  • Jan 31 2019 20:02
    ibnc synchronize #5756
  • Jan 31 2019 19:07
    arvindsv commented #3304
  • Jan 31 2019 19:06
    arvindsv commented #3304
  • Jan 31 2019 18:59
    varshavaradarajan synchronize #5791
  • Jan 31 2019 18:24
    ibnc synchronize #5756
  • Jan 31 2019 18:11
    mushycode commented #3304
  • Jan 31 2019 17:29
    GaneshSPatil opened #5797
  • Jan 31 2019 15:22
    arvindsv unpinned #5776
  • Jan 31 2019 15:07
    arvindsv commented #3304
  • Jan 31 2019 15:07
    arvindsv commented #3304
  • Jan 31 2019 14:59
    arvindsv commented #5796
  • Jan 31 2019 14:09
    akshaydewan commented #5796
  • Jan 31 2019 13:21
    maheshp commented #5796
  • Jan 31 2019 12:42
    ketan commented #5795
  • Jan 31 2019 12:39
    ketan commented #5795
  • Jan 31 2019 12:38
    JorritSalverda commented #5795
  • Jan 31 2019 12:35
    JorritSalverda commented #5795
  • Jan 31 2019 12:35
    JorritSalverda closed #5795
  • Jan 31 2019 12:00
    mushycode commented #3304
Satya Elipe

:point_up: Edit: Hi @chadlwilson Thank you for your time today;
As I said, I introduced it in a wrong way to begin with and server thrown an error; I have committed another change (that supposed to be the right way) but server keeps mentioning about the error with the first change and did not proceed to my second change; after I fixed the error server proceeded further with my second change and it worked;

Sure, will keep an eye on the UI errors (which I think am discarding ...)

Thanks again
Good weekend.

Sumit Kumar

Hi Team,

Wondering if someone has already solved this behaviour -

During the build process, it pulls and downloads the image each-time (screenshot attached). Since the image size is huge, this process takes up around 3-4 minutes. Is there a way avoid this process on every build? Or any other way to speed up the build process?

3 replies
Screenshot 2022-08-15 at 5.58.01 PM.png
Mr Nathan C Stott
Hello, POC gocd in K8s. Question. Has anyone managed to get it so the worker agents (pods) can be launched/spawned in another namespace and not the gocd namespace?
matthew zeier
Wondering if anyone here has configured auth with Okta of with Okta-LDAP. The Okta OAuth plugin hasn't been touched since 2020 and I'm not clear if that means it's not maintained or just works. Could just do the LDAP plugin but if someone has a config file I can use, that'd make it easier.
1 reply
Christian Butcher
Is there a good/simple way to acquire/release a mutex/locking mechanism during part of a pipeline?
In my current specific case, I'm publishing artifacts and found that the package list is corrupted by presumably multiple containers publishing artifacts at the same time, and mangling the repository (which is a shared resource).
If there's no mechanism in GoCD, I can probably implement something directly in the publish method of the plugin, and acquire/release some server-side locking token, but I figured there might be something built-in? Or a common way to handle this.
2 replies
Kevin Yang
Hello? anybody here?
1 reply
I would like to know that does the gocd has supported Gitlab webhook to trigger a pipeline running?

I am trying to perform gocd-server backup.
My gocd-server version is - 18.10.0

when hit perform back up I am seeing below error-
Failed to perform backup. Reason: Could not create the backup directory.

when i run below command on server -
I can see serverBackups directory exists but shows in red.

Any idea how can we fix this?

3 replies
is there any option to use GitOps to deploy on EKS cluster via GoCD please?
2 replies
Hello everyone.
Have a question here.
Is there any docker-compose example to refer from?
1 reply
Laz M

Can someone confirm my understanding of config-repo rules? I'm interpolating the doco, the unit tests, and my own testing.

1) Pipelines defined in the same config repo can refer to each-other without restriction.
2) When allowing a config-repo to "refer" to a pipeline group, that just means it can create/change pipelines within that pipeline group. It does NOT allow for a pipeline in the config repo to depend on the specified pipeline group.
3) To allow one pipeline to depend on another, you must allow it to refer to the specific pipeline.

I recently upgraded, and the config-repos which define pipelines with non-trivial visual-stream-maps all broke. Specifyng they can refer to the other pipeline-group didn't fix it, I have to be explicit about the pipeline.

Does that sounds about right?

19 replies
Matt Gaunt-Seo @ Sentry.io

Hi All,

I'm trying to come up with a notification plugin that will call a webhook with enough information to determine if a pipeline is queued, in_progress or complete.

The https://github.com/digitalocean/gocd-webhook-notification-plugin plugin is close but the stage updates are for individual stages and don't include enough information to determine if the pipeline is complete or not without knowing the pipeline on the receiving side.

Am I holding this wrong? I was looking into creating my plugin for this, but looking at the docs it seems like plugins don't have access to the gocd API, is that correct or am I missing something?

1 reply
Sergei Valevka
Are there any plans to support SAML Authentication so Azure AD can be used as an authentication backend? I can see only a single that supports SAML https://github.com/SonicDrivein/gocd-saml-plugin . The last update for this plugin was released 5 years ago and I am not ready to use a tool in production that has not been updated in such a long time. I find it quite puzzling though that there are no other plugins that support this functionality.
21 replies
Laz M

How do people do pipelines on branches? Different pipeline all together? git-fb-poller plugin with branch filters?

I've gone w/ the poller plugin, on master + $PATTERN ... and my last stage of each test pipeline is cancelling the pipeline, as to not trigger the next pipeline (build). (because running tests and things on a branch is really convenient, but I don't want to promote building or deploying a branch ... or even assign a build number for that matter).

Probably sub-optimal ... just curious.

3 replies
Ganesh Patil
Hey Gocd Community,
I am Ganesh and I work as a full-time community person at Aviyel. I just discovered GOCD on github and thought I'd come around and be a part of the discussions while I am exploring it. Meanwhile, if there's anything I could help with on the non-code side (I do have some ideas in mind) to spread the word, I'd be happy to volunteer.
Let me know your thoughts would be happy to discuss them.
2 replies
Rams kumar
Hi to All, I am new to GoCD .How to create remote agent in GO Pipeline? and How to communicate with EC2?
1 reply
Tobias Hochgürtel
I'm new to GoCD, can I run GoCD as Containers?
1 reply
I see https://www.gocd.org/download/#docker that this looks like it, but when I start the server as Container on docker I get "drone-server_1 | exec /docker-entrypoint.sh: exec format error" as log messages
version: '3'
image: gocd/gocd-server:v22.2.0
restart: always
  - "8153:8153"
Hans Dushanthakumar
Hi, Is there a feature in GoCD that disallows force-manual-progress of a failed stage, for certain groups of users? (I can see that there is this allowOnlyOnSuccess for approval at stage level, but is there a way to configure this so that say an Admin can in an exceptional situation manually override this)
1 reply

We're using gocd under the GCP IAP proxy. As such, users are already authenticated and authorized by the time there is any connection to the GoCD server. The user identity is forwarded in a X-Goog-Authenticated-User-Email header. Is there any way I can make use of that to identify users? The provided google-oauth-authorization-plugin is similar to what I need, but actually does too much work -- the users has already been authenticated. It's not clear to me how to amend the plugin for my use, or if it's possible under the current auth-plugin api.

Some background information: https://cloud.google.com/iap/docs/identity-howto

2 replies
Yuri Lukyanov

Hi! My GoCD server (v22.2.0) apparently ceased to start with this error:

jvm 1    | 2022-11-21 09:25:48,488 ERROR [WrapperJarAppMain] ContextLoader:350 - Context initialization failed
jvm 1    | org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internalAgentControllerV1' defined in URL [jar:file:/go-working-dir/work/jetty-0_0_0_0-8153-cruise_war-_go-any-/webapp/WEB-INF/lib/api-internal-agent-v1-22.2.0-14697.jar!/com/thoughtworks/go/apiv1/internalagent/InternalAgentControllerV1.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactoryBean' defined in file [/go-working-dir/work/jetty-0_0_0_0-8153-cruise_war-_go-any-/webapp/WEB-INF/classes/com/thoughtworks/go/server/database/SqlSessionFactoryBean.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'goDataSource' defined in com.thoughtworks.go.server.database.Database: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.commons.dbcp2.BasicDataSource]: Factory method 'getDataSource' threw exception; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (General error: "java.lang.IllegalStateException: Chunk 480268 not found [1.4.200/9]" [50000-200])

I suppose the H2 database is corrupted. Could you help me to understand if there is a way to recover it?

1 reply
Steve Howe
Hi all.. quick q pls - has anyone come across any kind of plugin/technique that blocks entropic strings (ie api keys) from being dumped out in gocd's pipeline execution output please?
1 reply
Does anyone know if it's possible to run a gocd agent running in a Kubernetes cluster and connect to a gocd server outside the cluster? I tried this setup on my own and the agent connects but it constantly loses the connection when trying to run, potentially due to the fact the agent registers the gocd agent under an ip address that isn't accessible from an external server
1 reply
Pedro Carriço
Any best practices on setting the GOCD_SERVER_JVM_OPTS and the Xmx and Xms for a certain memory configuration?
8 replies
We are looking to move from pipelines configured in the cruise.xml config to a pipeline as code setup. Does gocd have a migration tool that will convert the pipelines in the xml to yaml format and output them as individual pipelines?
5 replies
Nayan Makwana

hello folks
i recently moved my server windows to Linux but after migration i didn't get my agents so how can i retrieve all agent , i am running gocd server on same ip just os changed

thank you in advance

2 replies
In case anyone needs a method to bulk download yaml pipeline configurations and has trouble accessing the gocd api because it won't let you authenticate using your oauth provider, I found an easy to use workaround and made a script for it. https://github.com/sethstuart/GoCDBulkPipelineDownload
Hi, Does anyone know how I can get a powershell command to run in the background on Windows Successfully with GO. I have tried everything and I cant seem to get it to run without it not accepting its been successful. It either fails or it will hang on yellow status, running the command successfully but not accepting its a success and completing the pipeline run. An example of the command I am attempting to run is this "Set-Location -Path "C:\app" & "C:\Program Files (x86)\python37\pythonw.exe" C:\app\app.pyw > output.txt" Running the command directly via powershell on Windows works fine!
1 reply
Hi...I am interested to implement retry logic for a task of a stage/entire stage in Gocd pipeline , can someone assist me on this