Search in sources :

Example 1 with WorkspaceEnvVarService

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);
}
Also used : WorkspaceEnvVarService(io.jpom.service.system.WorkspaceEnvVarService)

Aggregations

WorkspaceEnvVarService (io.jpom.service.system.WorkspaceEnvVarService)1