Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们想在我们的 GitLab 实例上禁用 http 访问并仅使用 SSH。无人机可以通过 SSH 以某种方式与 GitLab 通信吗?
默认克隆插件使用 git+https 克隆存储库。如果您想更改默认行为并使用 git+ssh,则必须创建自定义克隆插件。
clone: custom: image: amazia/custom-git-plugin pipeline: build: image: golang commands: - go build - go test
上面的示例演示了一个覆盖默认克隆步骤以使用自定义插件的 yaml 配置。以下是一些用于创建自定义插件的资源: