Skip to content

Commit e5d029b

Browse files
committed
ci: clean app cache data at the end of windows e2e
1 parent f7b6e16 commit e5d029b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

ci/Jenkinsfile.tests-e2e.windows

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,16 @@ pipeline {
227227
cred: 'discord-status-desktop-e2e-webhook',
228228
)
229229
} }
230-
cleanup { cleanWs(disableDeferredWipeout: true) }
230+
cleanup {
231+
script {
232+
powershell '''
233+
if (Test-Path "C:\\Users\\jenkins\\AppData\\Local\\Status") {
234+
Remove-Item "C:\\Users\\jenkins\\AppData\\Local\\Status" -Recurse -Force -ErrorAction SilentlyContinue
235+
}
236+
'''
237+
}
238+
cleanWs(disableDeferredWipeout: true)
239+
}
231240
}
232241
}
233242

0 commit comments

Comments
 (0)