최대 1 분 소요

Jenkins 빌드 과정 중 Execute Windows batch command에서 다른 배치 파일을 호출해야 할 때가 있다. 이 경우 aaa.bat처럼 파일명만 입력하면 아래와 같은 에러 메시지가 발생한다.

The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
Build step 'Execute Windows batch command' marked build as failure
Performing Post build task...
Could not match :ERROR  : False
Logical operation result is FALSE

이런 경우에는 call aaa.bat처럼 앞에 call 명령을 붙이면 정상적으로 호출된다.

댓글 남기기