检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
86 87 88 89 90 91 package com.huaweicloud.sdk.test; import com.huaweicloud.sdk.core.auth.ICredential; import com.huaweicloud.sdk.core.auth.BasicCredentials;
48 49 50 51 52 53 package com.huaweicloud.sdk.test; import com.huaweicloud.sdk.core.auth.ICredential; import com.huaweicloud.sdk.core.auth.BasicCredentials;
55 56 57 58 59 60 package com.huaweicloud.sdk.test; import com.huaweicloud.sdk.core.auth.ICredential; import com.huaweicloud.sdk.core.auth.BasicCredentials;
"804934", "http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "branch" : "master"
164 165 166 167 168 package com.huaweicloud.sdk.test; import com.huaweicloud.sdk.core.auth.ICredential; import com.huaweicloud.sdk.core.auth.BasicCredentials;
51 52 53 54 55 56 package com.huaweicloud.sdk.test; import com.huaweicloud.sdk.core.auth.ICredential; import com.huaweicloud.sdk.core.auth.BasicCredentials;
"repos" : [ { "http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "feature_branch"
"985241", "http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "branch" : "master"
返回结果 请求发送以后,您会收到响应,包含状态码、响应消息头和消息体。 状态码 状态码是一组从1xx到5xx的数字代码,状态码表示了请求响应的状态,完整的状态码列表请参见状态码。 对于管理员创建IAM用户接口,如果调用后返回状态码为“201”,则表示请求成功。 响应消息头 对应请
date [ { "http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "feature_branch" :
52 53 54 55 56 57 package com.huaweicloud.sdk.test; import com.huaweicloud.sdk.core.auth.ICredential; import com.huaweicloud.sdk.core.auth.BasicCredentials;
响应Body参数 参数 参数类型 描述 task_id String 流水线创建实例ID task_status String 实例创建状态,取值和含义:initializing:初始化中;processing:处理中;finished:已完成;succeeded:成功 pipeline_id
"804934", "http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "branch" : "master"
cn-north-5.huaweicloud.com/LmhTest00001/maven.git", "git_url" : "git@codehub.devcloud.cn-north-5.huaweicloud.com:LmhTest00001/maven.git"
"804934", "http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com/test00001/maven.git", "feature_branch"
"804934", "http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "feature_branch"
Explorer在线调试请参见:启动流水线。 请求示例 POST https://cloudpipeline-ext.cn-north-1.myhuaweicloud.com/v3/pipelines/{pipeline_id}/start 请求体示例 {} 响应示例 { "build_id": "xxx"
Explorer在线调试请参见: 停止流水线。 请求示例 https://cloudpipeline-ext.cn-north-1.myhuaweicloud.com/v3/pipelines/stop?pipeline_id=824e784b3f43492e99152a..... 请求体示例 {} 响应示例
"804934", "http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "feature_branch"
"804934", "http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "feature_branch"