The workspace defines the path to which the repository is cloned. The default workspace matches the below pattern, based on your repository url.
The workspace can be customized using the workspace block in the Yaml file:
+workspace: + base: /go + path: src/github.com/octocat/hello-world pipeline: build: image: golang:latest commands: - go get - go test
The custom workspace path is now used when cloning your repository:
git clone https://github.com/octocat/hello-world \ /go/src/github.com/octocat/hello-world