CI: Extend Custom_Script to accept arguments
This commit is contained in:
committed by
Robert Schmidt
parent
1dca20ba85
commit
0d2212ca38
+2
-1
@@ -328,9 +328,10 @@ def ExecuteActionWithParam(action, ctx):
|
||||
elif action == 'Custom_Script':
|
||||
node = test.findtext('node')
|
||||
script = test.findtext('script')
|
||||
args = test.findtext('args')
|
||||
# Allow referencing repository workspace path in XML via %%workspace%%
|
||||
script = script.replace("%%workspace%%", CONTAINERS.eNBSourceCodePath)
|
||||
success = cls_oaicitest.Custom_Script(HTML, node, script)
|
||||
success = cls_oaicitest.Custom_Script(HTML, node, script, args)
|
||||
|
||||
elif action == 'Pull_Cluster_Image':
|
||||
tag_prefix = test.findtext('tag_prefix') or ""
|
||||
|
||||
Reference in New Issue
Block a user