issue Allow to generate the `pipe run` command from the GUI - fix for command generation if pipeline not specified
@@ -51,6 +51,9 @@ public class PipeRunCmdBuilder {
}
public PipeRunCmdBuilder name() {
+ if (Objects.isNull(runVO.getPipelineId())) {
+ return this;
+ }
if (StringUtils.isNotBlank(runVO.getVersion())) {
cmd.add(String.format("%d@%s", runVO.getPipelineId(), runVO.getVersion()));
} else {
