카테고리 없음
jenkins로 flutter 빌드 셋팅
cho22
2024. 2. 23. 17:25
반응형
빌드머신 로컬에선 플러터가 잘 돌아가고있다.
젠킨스로 빌드하려고 환경변수 셋팅도 완료
하지만 실행시 Unable to find git in your PATH 문제가 발생했다.
해결방법으로는 아래의 게시글 참조하여
Error: Unable to find git in your PATH despite adding path and trying all available solutions
I have been trying to install Flutter on Windows 11 and keep on getting stuck on Error: Unable to find git in your PATH I have been looking around and kept on trying different ways to get it to
stackoverflow.com
PATH를
C:\flutter\bin\mingit\cmd;C:\flutter\bin;C:\Windows\System32;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\bin\git.exe
이렇게 설정해주니 성공함
젠킨스 잡에서는 빌드스텝에 플러터 빌드 명령어 추가해줬다
반응형