The system cannot find the specified drive in Jenkins

后端 未结 9 2428
半阙折子戏
半阙折子戏 2021-02-15 15:17

I want to copy some files from a network shared drive (mounted at my local machine as drive Z). I have written a Batch file to copy the contents of Z drive into my local drive.

9条回答
  •  攒了一身酷
    2021-02-15 15:57

    Yes Jenkins uses different login credentials. To map a drives through Jenkins use below command in Jenkins command prompt:

    Subst U: \drive\folder

    then after that your queries.

提交回复
热议问题