解决pr描述无法过滤构建,增加ci-skip帮助文档
This commit is contained in:
parent
ba10e34b9d
commit
6ede6fd36c
|
@ -110,6 +110,10 @@ public class MergeRequestObjectAttributes {
|
|||
this.description = description;
|
||||
}
|
||||
|
||||
public void setBody(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Project getSource() {
|
||||
return head.getProject();
|
||||
}
|
||||
|
|
|
@ -26,13 +26,10 @@
|
|||
</f:entry>
|
||||
</table>
|
||||
</f:entry>
|
||||
<f:entry title="${%Enable.CI.Skip}" field="ciSkip">
|
||||
<f:entry title="${%Enable.CI.Skip}" field="ciSkip" help="/plugin/gitee-jenkins-plugin/help/help-ci-skip.html">
|
||||
<f:checkbox default="true"/>
|
||||
</f:entry>
|
||||
<f:entry title="${%Ignore.WIP.Merge.Requests}" field="skipWorkInProgressMergeRequest">
|
||||
<f:checkbox default="true"/>
|
||||
</f:entry>
|
||||
<f:entry title="${%Set.Build.Desctiption}" field="setBuildDescription">
|
||||
<f:entry title="${%Ignore.WIP.Merge.Requests}" field="skipWorkInProgressMergeRequest" help="/plugin/gitee-jenkins-plugin/help/help-wip-pull-request.html">
|
||||
<f:checkbox default="true"/>
|
||||
</f:entry>
|
||||
<f:entry title="${%Allowed.branches}">
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
<div>
|
||||
For Push hook: skip build if the commit message contains <code>[ci skip]</code>.
|
||||
For Pull Request hook: skip build if the pull request body contains <code>[ci skip]</code>.
|
||||
</div>
|
|
@ -0,0 +1,8 @@
|
|||
<div>
|
||||
<p>
|
||||
代码推送触发: 若推送的最后一个提交的描述信息包含 <code>[ci skip]</code>,则不触发构建。
|
||||
</p>
|
||||
<p>
|
||||
PR 操作触发: 若 PR 的内容描述信息包含 <code>[ci skip]</code>,则不触发构建。
|
||||
</p>
|
||||
</div>
|
|
@ -0,0 +1,3 @@
|
|||
<div>
|
||||
Ignore WIP Merge Requests
|
||||
</div>
|
|
@ -0,0 +1,3 @@
|
|||
<div>
|
||||
过滤正在进行构建的 Pull Request,防止同一个 PR 同时进行多次构建。
|
||||
</div>
|
Loading…
Reference in New Issue