[Commit slider] AC job improvements (#24002)
### Details: - *item1* - *...* ### Tickets: - *ticket-id*
This commit is contained in:
parent
34e5f2479f
commit
55ff3aa3e4
|
|
@ -135,8 +135,6 @@ class Mode(ABC):
|
|||
# fetch paths for dlb job
|
||||
if cfg["dlbConfig"]["launchedAsJob"]:
|
||||
cfg["appPath"] = cfg["dlbConfig"]["appPath"]
|
||||
if cfg["dlbConfig"]["appCmd"] != "" :
|
||||
cfg["appCmd"] = cfg["dlbConfig"]["appCmd"]
|
||||
# switch off illegal check
|
||||
if not self.traversal.isComparative():
|
||||
cfg["checkIfBordersDiffer"] = False
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ try:
|
|||
except:
|
||||
import subprocess
|
||||
import sys
|
||||
p = subprocess.Popen('{py} -m pip install pyyaml'.format(
|
||||
p = subprocess.Popen('{} -m pip install pyyaml'.format(
|
||||
sys.executable
|
||||
),
|
||||
shell=True,
|
||||
|
|
|
|||
|
|
@ -286,10 +286,14 @@ def fetchAppOutput(cfg, commit):
|
|||
|
||||
output = ""
|
||||
if cfg["venvCfg"]["venvEnabled"]:
|
||||
# todo - move to substitution rules
|
||||
for item in [
|
||||
{"src": cfg["venvCfg"]["venvName"], "dst": "venvName"},
|
||||
{"src": cfg["appPath"], "dst": "appPath"},
|
||||
{"src": sys.executable, "dst": "py"}
|
||||
{"src": sys.executable, "dst": "py"},
|
||||
# for AC case
|
||||
{"src": cfg["dlbConfig"]["appCmd"], "dst": "appCmd"},
|
||||
{"src": cfg["dlbConfig"]["toolPath"], "dst": "toolPath"}
|
||||
]:
|
||||
appCmd = multistepStrFormat(
|
||||
appCmd,
|
||||
|
|
|
|||
Loading…
Reference in New Issue