Hi @chadlwilson Thank you for your time today; its actually working;
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 until now)
Thanks again
Good weekend.
: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 until now)
Thanks again
Good weekend.
: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.
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?
Hi,
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 -
ls ${ARTIFACT_REPOSITORY_LOCATION}
I can see serverBackups directory exists but shows in red.
Any idea how can we fix this?
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?
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?
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.
- "8153:8153"
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
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?