fix: 支持自定义证书生成插件

This commit is contained in:
xiaojunnuo
2025-07-01 15:18:55 +08:00
parent bdaf58a3c4
commit 481cc029fa

View File

@@ -195,7 +195,7 @@ export class PipelineService extends BaseService<PipelineEntity> {
let domains = [];
if (pipeline.stages) {
RunnableCollection.each(pipeline.stages, (runnable: any) => {
if (runnable.runnableType === 'step' && runnable.type.startsWith('CertApply')) {
if (runnable.runnableType === 'step' && runnable.type.indexOf('CertApply')>=0) {
domains = runnable.input.domains || [];
}
});