ScriptsApr 16, 2026·3 min read

GoCD — Continuous Delivery Server by ThoughtWorks

A mature open-source continuous delivery server that models complex build-test-deploy pipelines with first-class support for pipeline dependencies, fan-in/fan-out, and value stream visualization.

TL;DR
GoCD models complex build-test-deploy pipelines with first-class support for dependencies, fan-in/fan-out, and value streams.
§01

What it is

GoCD is a mature open-source continuous delivery server built by ThoughtWorks. It models complex build-test-deploy pipelines with first-class support for pipeline dependencies, fan-in/fan-out patterns, and value stream visualization. Unlike CI-focused tools, GoCD is designed specifically for continuous delivery workflows.

GoCD targets DevOps teams and release engineers managing complex deployment pipelines with multiple stages, environments, and interdependent services.

§02

How it saves time or tokens

GoCD's value stream map visualizes the entire delivery pipeline from commit to production in one view. Pipeline dependencies prevent deploying services out of order. Fan-in ensures downstream stages wait for all upstream pipelines to complete, avoiding partial deployments.

§03

How to use

  1. Start GoCD server with Docker:
docker run -d -p 8153:8153 gocd/gocd-server:latest
  1. Register an agent:
docker run -d -e GO_SERVER_URL=http://host:8153/go gocd/gocd-agent-alpine-3.16:latest
  1. Open http://localhost:8153 and configure your first pipeline.
§04

Example

# Start GoCD server
docker run -d -p 8153:8153 gocd/gocd-server:latest

# Register an agent
docker run -d \
  -e GO_SERVER_URL=http://host.docker.internal:8153/go \
  gocd/gocd-agent-alpine-3.16:latest

# Access at http://localhost:8153
# Create pipeline: Build -> Test -> Deploy
# Define stages, jobs, and tasks through the web UI
§05

Related on TokRepo

Key considerations

When evaluating GoCD for your workflow, consider the following factors. First, assess whether your team has the technical prerequisites to adopt this tool effectively. Second, evaluate the maintenance burden against the productivity gains. Third, check community activity and documentation quality to ensure long-term viability. Integration with your existing toolchain matters more than feature count alone. Start with a small pilot project before rolling out across the organization. Monitor resource usage during the initial adoption phase to identify bottlenecks early. Document your configuration decisions so team members can onboard independently.

§06

Common pitfalls

  • GoCD requires separate server and agent processes; a single Docker container is insufficient for production use.
  • The web UI has a learning curve compared to simpler CI tools; invest time in understanding pipelines, stages, and jobs.
  • Plugin ecosystem is smaller than Jenkins; verify required integrations are available before committing.

Frequently Asked Questions

How does GoCD differ from Jenkins?+

GoCD is designed specifically for continuous delivery with built-in pipeline dependencies and value stream visualization. Jenkins is a general-purpose CI server with plugin-based CD. GoCD handles complex deployment pipelines more naturally out of the box.

What is a value stream map?+

A value stream map visualizes the entire path from code commit to production deployment. It shows all pipelines, their dependencies, and current status in one view, helping teams identify bottlenecks.

Does GoCD support pipeline as code?+

Yes. GoCD supports pipeline definitions in YAML or JSON files stored in your repository. This enables versioned, code-reviewed pipeline configurations.

Is GoCD free?+

Yes. GoCD is fully open-source under Apache 2.0. There are no paid features or enterprise editions. All functionality is available in the open-source version.

What is fan-in in GoCD?+

Fan-in ensures a downstream pipeline triggers only when all its upstream dependencies have completed successfully. This prevents partial deployments when multiple services need to be updated together.

Citations (3)

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets