File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 11//Jenkins pipelines are stored in shared libaries. Please see: https://github.com/NREL/cbci_jenkins_libs
22
3- @Library('cbci_shared_libs') _
3+ @Library('cbci_shared_libs@windows_file_lock ') _
44
55// Build for PR to develop branch only.
66if ((env.CHANGE_ID) && (env.CHANGE_TARGET) ) {
77
8- node('openstudio-win-server-vs-2019-ssh-incr-aws') {
9- stage('Pre-clean') {
10- // Kill any stuck ctest processes from previous runs that might be holding file locks
11- powershell("Stop-Process -Name 'ctest', 'openstudio' -Force -ErrorAction SilentlyContinue")
12- sleep(10)
13-
14- // Try to clean up the Testing directory which was causing failures
15- // We use PowerShell directly to avoid Java exceptions if files are still locked (though Stop-Process should fix it)
16- // and to ensure we target the specific path used by the shared library
17- powershell("Remove-Item -Recurse -Force 'D:/git/OS-build-release-v2/Testing' -ErrorAction SilentlyContinue")
18- }
19- }
20-
218 openstudio_incremental_develop_windows()
229
2310}
You can’t perform that action at this time.
0 commit comments