2012-01-20 2 views
1

우리는 Play! 프레임 워크와 저는 Jenkins CI를 설정하여 자동 테스트 및 기타 사항을 마스터 유닉스 시스템에서 실행합니다. 두 번째 단계로 브라우저의 webdriver 테스트를 실행하기 위해 Windows 슬레이브를 설정하고 싶습니다. 불행히도 내 빌드는 그 시점에 도달하지 않습니다. 소스가 작업 영역 디렉토리에서 정상적으로 체크 아웃합니다. 첫 번째 빌드 단계로 실행Jenkins Windows 슬레이브가 Play! 프레임 워크 빌드

play clean 

언제나 실패로 보입니다. 그 디렉토리 관리자에게 모든 권한을 부여했고 그래서

runas /noprofile /user:DOMAIN\Administrator "javaws http://jenkins:8080/computer/Keith/slave-agent.jnlp" 

내가 젠킨스에서 볼 수있는 콘솔 출력처럼 그 관리자 아래 젠킨스 슬레이브를 실행 해요 :

Building remotely on Keith in workspace C:\Documents and Settings\administrator\My Documents\Jenkins\workspace\windows 
Updating http://svnrepo.. 
At revision 448 
no change for http://svnrepo.. since the previous build 
play path is C:\Software\Play\play 
Executing C:\Software\Play\play clean "C:\Documents and Settings\administrator\My Documents\Jenkins\workspace\windows" 
[windows] $ C:\Software\Play\play clean "C:\Documents and Settings\administrator\My Documents\Jenkins\workspace\windows" 
Build step 'Play!' marked build as failure 
Finished: FAILURE 

참고 때 나는 아래의 명령을 수동으로 잘 작동하는 Windows 상자에서 실행 :

C:\Software\Play\play clean "C:\Documents and Settings\administrator\My Documents\Jenkins\workspace\windows" 

누구나 내가 뭘 잘못하고있어 아이디어가있어?

감사합니다.

답변

2

나는 동일한 문제가있어서 재생 경로 끝에 .bat을 추가하여 해결했습니다. 귀하의 경우, 젠킨스에서 재생 경로를 C:\Software\Play\play.bat (단지 C:\Software\Play\play이 아닌)으로 구성해야합니다.

+0

그랬습니다! 감사 – valanto

관련 문제