Why is this file missing? C:/TeamCity/buildAgent/work/c508335a9011a7c1/Build/CMakeFiles/git-data/head-ref

0
2 comments

Couldn’t figure it out so I just made my first build step a command line git clone and checkout which works fine. 

0

Go to CLI and open project path

enter git status

if it showed the path to grabRef.cmake , try

git update-ref -d /.pio/build/esp32dev/bootloader/CMakeFiles/git-data/grabRef.cmake

otherwise,

git add /.pio/build/esp32dev/bootloader/CMakeFiles/git-data/grabRef.cmake

and then update it.

This will resolve the issue.

0

Please sign in to leave a comment.