光盘 安装 gem 'gocd' 要么 gem install gocd 代码文件 用法 GOCD . server = GOCD :: Server . new 'http://goserverurl.com' GOCD . credentials = GOCD :: Credentials . new 'username' , 'password' 要检查所有管道: GOCD :: AllPipelines . red_pipelines 要检查一组管道: pipelines = GOCD :: PipelineGroup . new [ 'Pipeline1 :: stage1'