3

How to open an external executable file using jenkins

I tried it in execute window batch command like

cd c:\EMailer\
call testcompete.exe

But it is not working then i tried

start testcomplete.exe

This testcomplete will run the automated site and write a text file . It is also not working.Is there any pluggin or method in jenkin to open external executable files? enter image description here showing prompt when testcomplete trying to start

13
  • "open an external executable" is not clear... Do you just want to run it? if so, both options you noted should work. Do you want to fork it and not wait for it? You should remember that the process runs under the java, which is running Jenkins. Commented Feb 26, 2013 at 6:28
  • @EldadAK Means it is not opening any testcompete window Commented Feb 26, 2013 at 6:33
  • 1. If you run it from command line, does it run? 2. Is Jenkins running as a service? Commented Feb 26, 2013 at 6:49
  • 1. yes it is running through command prompt 2.Yes Jenkins is running as service Commented Feb 26, 2013 at 6:53
  • 5
    Try setting the Jenkins service to "Allow service to interact with the desktop". Does it help (after service restart)? Commented Feb 26, 2013 at 6:59

2 Answers 2

3

Set the Jenkins service to "Allow service to interact with the desktop". This will allow Jenkins to use the desktop as a resource.

Sign up to request clarification or add additional context in comments.

Comments

0

You need to install Windows Exe Runner Plugin in Jenkins.

For more information: https://wiki.jenkins.io/display/JENKINS/Windows+Exe+Runner+Plugin

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.