-
-
Notifications
You must be signed in to change notification settings - Fork 337
env.WORKSPACE path on windows is incorrect #6371
Copy link
Copy link
Closed
Description
if cleanWs() does not work properly, we do rm -rf. However, the path is not correct on Windows C:UsersjenkinsworkspaceTest_openjdk25_j9_sanity.jck_x86-64_windows_Personal_testList_1/aqa-tests/TKG
05:08:40.808 Exception: hudson.AbortException: Cannot delete workspace: Unable to delete 'C:\Users\jenkins\workspace\Test_openjdk25_j9_sanity.jck_x86-64_windows_Personal_testList_1\aqa-tests'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts. (Discarded 2345 additional exceptions)
[Pipeline] sh
05:08:42.878 + rm -rf C:UsersjenkinsworkspaceTest_openjdk25_j9_sanity.jck_x86-64_windows_Personal_testList_1/aqa-tests/TKG
aqa-tests/buildenv/jenkins/openjdk_tests
Line 671 in 337d877
| sh "rm -rf ${env.WORKSPACE}/aqa-tests/TKG" |
aqa-tests/buildenv/jenkins/JenkinsfileBase
Line 1672 in 337d877
| sh "rm -rf ${env.WORKSPACE}/aqa-tests/TKG" |
We should create a Utils.groovy to store common functions.
related: #6006
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done