调度管线按路径过滤 Full Build 并回填升级证据
Project CI / AI game creator shell Rust shard 1/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (push) Has been cancelled
Project CI / AI game creator shell Rust smoke (push) Has been cancelled
Project CI / AI game creator shell Rust crates (push) Has been cancelled
Project CI / Backend tests (push) Has been cancelled
Project CI / Native shell tests (push) Has been cancelled
Project CI / Frontend tests (push) Has been cancelled
Project CI / Repository checks (push) Has been cancelled
Project CI / AI game creator shell web tests (push) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (push) Has been cancelled
Project CI / AI game creator shell Rust smoke (push) Has been cancelled
Project CI / AI game creator shell Rust crates (push) Has been cancelled
Project CI / Backend tests (push) Has been cancelled
Project CI / Native shell tests (push) Has been cancelled
Project CI / Frontend tests (push) Has been cancelled
Project CI / Repository checks (push) Has been cancelled
Project CI / AI game creator shell web tests (push) Has been cancelled
- 调度管线同时判定 AGC 与 Full Build 两条下游的发布范围,并分别决定是否触发 - Full Build 采用与线上站点/后端无关的路径黑名单,改动落在黑名单外照常部署,避免漏发 - 两条同时跳过时只推进 revision 状态、不触发任何发布,构建描述写明实际触发的下游 - 新增 Full Build 跳过模式守卫用例,并补齐开发运维与技术方案说明 - 主规范回填真实更新闭环证据:0.1.47 客户端完成提示、下载、安装与重启
This commit is contained in:
@@ -364,3 +364,30 @@ test('scheduler path filter stays in sync with client release paths', () => {
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
test('scheduler skips the full build only for non-deploy paths', () => {
|
||||
const jenkinsfile = readFileSync(
|
||||
new URL(
|
||||
'../../../jenkins/Jenkinsfile.scheduled-revision-trigger',
|
||||
import.meta.url,
|
||||
),
|
||||
'utf8',
|
||||
);
|
||||
const skipLine = jenkinsfile
|
||||
.split('\n')
|
||||
.find((line) => line.includes('docs/*|.codex/*|jenkins/*'));
|
||||
assert.ok(skipLine, '调度管线里应存在 Full Build 跳过模式');
|
||||
for (const pattern of [
|
||||
'docs/*',
|
||||
'.codex/*',
|
||||
'jenkins/*',
|
||||
'apps/ai-game-creator-shell/*',
|
||||
'apps/mobile-shell/*',
|
||||
'apps/desktop-shell/*',
|
||||
'apps/preview-deployer-web/*',
|
||||
'tools/*',
|
||||
'*.md',
|
||||
]) {
|
||||
assert.ok(skipLine.includes(pattern), `Full Build 跳过模式缺少 ${pattern}`);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user