Skip to content
代码片段 群组 项目
未验证 提交 05e0cbd9 编辑于 作者: Jackie Porter's avatar Jackie Porter 提交者: GitLab
浏览文件

Verify after_script Deprecation Notice

上级 4a7a684c
No related branches found
No related tags found
无相关合并请求
- title: "`after_script` keyword will run for cancelled jobs"
# The milestones for the deprecation announcement, and the removal.
removal_milestone: "17.0"
announcement_milestone: "16.8"
# Change breaking_change to false if needed.
breaking_change: true
# The stage and GitLab username of the person reporting the change,
# and a link to the deprecation issue
reporter: jreporter
stage: verify
issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/437789
body: | # (required) Don't change this line.
The [`after_script`](https://docs.gitlab.com/ee/ci/yaml/#after_script) CI/CD keyword is used to run additional commands after the main `script` section of a job. This is often used for cleaning up environments or other resources that were used by the job. For many users, the fact that the `after_script` commands do not run if a job is cancelled was unexpected and undesired. In 17.0, the keyword will be updated to also run commands after job cancellation. Make sure that your CI/CD configuration that uses the `after_script` keyword is able to handle running for cancelled jobs as well.
...@@ -1337,6 +1337,20 @@ removed in 17.0. ...@@ -1337,6 +1337,20 @@ removed in 17.0.
<div class="deprecation breaking-change" data-milestone="17.0"> <div class="deprecation breaking-change" data-milestone="17.0">
### `after_script` keyword will run for cancelled jobs
<div class="deprecation-notes">
- Announced in GitLab <span class="milestone">16.8</span>
- Removal in GitLab <span class="milestone">17.0</span> ([breaking change](https://docs.gitlab.com/ee/update/terminology.html#breaking-change))
- To discuss this change or learn more, see the [deprecation issue](https://gitlab.com/gitlab-org/gitlab/-/issues/437789).
</div>
The [`after_script`](https://docs.gitlab.com/ee/ci/yaml/#after_script) CI/CD keyword is used to run additional commands after the main `script` section of a job. This is often used for cleaning up environments or other resources that were used by the job. For many users, the fact that the `after_script` commands do not run if a job is cancelled was unexpected and undesired. In 17.0, the keyword will be updated to also run commands after job cancellation. Make sure that your CI/CD configuration that uses the `after_script` keyword is able to handle running for cancelled jobs as well.
</div>
<div class="deprecation breaking-change" data-milestone="17.0">
### `metric` filter and `value` field for DORA API ### `metric` filter and `value` field for DORA API
<div class="deprecation-notes"> <div class="deprecation-notes">
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册