Remove "forcedWorkspaceCleanup" option

It is superseded by the CreateWorkspace() function and task step (which
removes and recreates a workspace), and this option was not actually
used in any function except for the build of unit tests, but no XML
step actually specified this option.
This commit is contained in:
Robert Schmidt
2025-08-14 14:55:23 +02:00
parent 35f080e426
commit 3c54daf4e2
7 changed files with 0 additions and 17 deletions
-4
View File
@@ -231,7 +231,6 @@ class Containerize():
self.ranCommitID = ''
self.ranTargetBranch = ''
self.eNBSourceCodePath = ''
self.forcedWorkspaceCleanup = False
self.imageKind = ''
self.proxyCommit = None
self.yamlPath = ''
@@ -544,9 +543,6 @@ class Containerize():
raise Exception("Can build unit tests only on Ubuntu server")
logging.debug('running on Ubuntu as expected')
if self.forcedWorkspaceCleanup:
cmd.run(f'sudo -S rm -Rf {lSourcePath}')
# check that ran-base image exists as we expect it
baseImage = 'ran-base'
baseTag = 'develop'