环境是windows+jenkins+gitlab,是python项目,在构建时失败,查看控制台输出信息为

jenkins构建提示 can't open file xxxx [Errno 2] No such file or directory

 

 

通过修改此项目的jenkins工作空间解决,保存后,再次构建,成功解决了此问题。

jenkins构建提示 can't open file xxxx [Errno 2] No such file or directory

 

jenkins构建提示 can't open file xxxx [Errno 2] No such file or directory

 

 

不知道是不是jenkins默认工作空间路径名称的问题,默认工作空间在c盘,如下图。可以修改,但我没找到在哪修改。有兴趣的同学可以上网搜索搜索。

jenkins构建提示 can't open file xxxx [Errno 2] No such file or directory

 

相关文章:

  • 2021-11-07
  • 2021-07-31
  • 2021-06-14
  • 2021-11-20
  • 2021-09-21
  • 2022-12-23
  • 2021-07-04
猜你喜欢
  • 2021-12-24
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
相关资源
相似解决方案