use of io.jpom.service.system.WorkspaceEnvVarService in project Jpom by dromara.
the class ReleaseManage method formatCommand.
/**
* 格式化命令模版
*
* @param commands 命令
*/
private void formatCommand(String[] commands) {
for (int i = 0; i < commands.length; i++) {
commands[i] = this.formatCommandItem(commands[i]);
}
//
WorkspaceEnvVarService workspaceEnvVarService = SpringUtil.getBean(WorkspaceEnvVarService.class);
workspaceEnvVarService.formatCommand(this.buildExtraModule.getWorkspaceId(), commands);
}
Aggregations