Added test of build step running.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import logging, nre, os, osproc, sequtils, streams, strtabs, strutils, tables
|
||||
import logging, nre, os, osproc, sequtils, streams, strtabs, strutils, tables, uuids
|
||||
|
||||
import private/util
|
||||
import configuration
|
||||
|
@ -77,7 +77,7 @@ proc spawnWorker(cfg: StrawBossConfig, req: RunRequest): Worker =
|
||||
|
||||
let dir = mkdtemp()
|
||||
var args = @["run", req.projectName, req.stepName, "-r", req.buildRef,
|
||||
"-w", dir, "-c", cfg.filePath, "-i", req.id]
|
||||
"-w", dir, "-c", cfg.filePath, "-i", $req.id]
|
||||
if req.forceRebuild: args.add("-f")
|
||||
debug "Launching worker: " & cfg.pathToExe & " " & args.join(" ")
|
||||
result = Worker(
|
||||
|
Reference in New Issue
Block a user