Integrate Jubula with Jenkins [message #892540] |
Thu, 28 June 2012 10:54  |
Eclipse User |
|
|
|
Hi,
Now I need to integrate Jubula with Jenkins and execute a test for an Eclipse plugin. I have followed the step as the example "Automating Eclipse Jubula Tests with Jenkins" in the Internet.
I created a new job and added three script shells:
(1) rm -rf $WORKSPACE/testresults/*; mkdir -p $WORKSPACE/testdata; mkdir -p $WORKSPACE/testresults
(2) D:/jubula/server/autagent -p 60000 -v
(3) D:/jubula/jubula/testexec -project My Third Project -testsuite test2 -server localhost -port 60000 -autconfig Eclipse3 datadir $WORKSPACE/testdata -data /home/jenkins/.jubula/workspace -resultdir $WORKSPACE/testresults -version 1.0 -language en_US -dbscheme "Default Embedded (H2)" -dbuser sa -dbpw ""
But I lance the job and there is a mistake:
Building in workspace D:\Utilisateurs\A534346\.jenkins\jobs\Plugin Test\workspace
[workspace] $ sh -xe C:\Windows\TEMP\hudson9006745285536089314.sh
The system cannot find the file specified
FATAL: L'exécution de la commande a échoué.
java.io.IOException: Cannot run program "sh" (in directory "D:\Utilisateurs\A534346\.jenkins\jobs\Plugin Test\workspace"): CreateProcess error=2, Le fichier spécifié est introuvable
I have installed Jubula in the disk D and my system is Windows 7. For "/home/jenkins/.jubula/workspace", I don't know how to change the configuration. And for the mistake of the test, is it because I just missed some steps? Thank you for your response.
[Updated on: Thu, 28 June 2012 10:55] by Moderator
|
|
|
|
|
|
Re: Integrate Jubula with Jenkins [message #1323746 is a reply to message #893257] |
Wed, 30 April 2014 08:18  |
Eclipse User |
|
|
|
Hi,
although this is an old thread I wanted to contribute to it as I experienced the same problem once. In my case, the reason for the error was that in the Jenkins job I added as a build step "execute shell script". Instead, on our jenkins server I had to put the commands into the build step for executing windows batch files. This solved the problem in my case.
|
|
|
Powered by
FUDForum. Page generated in 0.23428 seconds