카테고리 없음

Jenkins window

ClientProgrammer 2022. 10. 28. 12:39

1.java 11 install

2.jenkins install

 

executecommand 대신 executeshell 을 사용하면 윈도우만 별도로 cmd 명령어 사용하는 불편함을 겪지 않고 리눅스나 맥과 같은 명령어로 통일 할 수 있다.

 

shell을 사용하기 위해서는 jenkins 설정에서 shell executable 에 gitbash 실행파일의 전체 경로를 넣어줘야한다.

 

shell executable

c:\program files\git\bin\bash.exe