mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
fix: 支持自定义证书生成插件
This commit is contained in:
@@ -195,7 +195,7 @@ export class PipelineService extends BaseService<PipelineEntity> {
|
|||||||
let domains = [];
|
let domains = [];
|
||||||
if (pipeline.stages) {
|
if (pipeline.stages) {
|
||||||
RunnableCollection.each(pipeline.stages, (runnable: any) => {
|
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 || [];
|
domains = runnable.input.domains || [];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user