Jenkins DeleteDir()函数:无法删除 [英] Jenkins DeleteDir() function : Unable to delete

查看:55
本文介绍了Jenkins DeleteDir()函数:无法删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在脚本中使用了DeleteDir()函数.有时会出现错误:无法删除...,但是我可以转到目录自己删除它.这似乎是随机发生的...有人知道为什么吗? 谢谢.

I'm using the function DeleteDir() in my script. Sometimes, the error : Unable to delete... appears, but I can go to the directory and delete it myself. It seems to happen randomly... Someone knows why ? Thx.

推荐答案

检查功能ID对文件夹的许可.如果对功能ID没有足够的权限,则该过程将无法删除该文件夹.

check the functional id's permission to the folder. If there is no enough permission to the functional id then the process will not be able to delete the folder.

这篇关于Jenkins DeleteDir()函数:无法删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆