Hi all, 

I am a newbie to Jenkins, but I have been reading and learning a lot in the 
recent months. First of all, let me say - I am very impressed with Jenkins 
and that how most of the stuff work out of the box for simple 
configurations. I have been pushing my self gradually into writing pipeline 
scripts etc. I am blocked with a few issues, one of them being that I am 
not able to run a windows executable from my Jenkins. Below is what I face: 

Issue:
- Jenkins gets stuck/frozen when running an .exe in a batch script (both 
freestyle and pipeline) - tried with many .exes to test and the same.
.

Info:
- The executable is a binary file generator app installed locally on the 
machine. It takes in few parameters and creates a binary file
- I am able to run it outside of Jenkins and works as expected
- Jenkins v2.152 is installed as localhost and the .exe is also on this 
machine (no slaves configured)
- I have no admin access on the machine. But Jenkins is installed on C: 
drive with admin privileges and can modify files in work space.
- It is a windows 10 machine.

My attempts:
1. As some have suggested I have tried to run .exe as a service by using 
the keyword "start", but this time Jenkins does not freeze but the 
executable does not run.
2. Used Java melody etc. to analyse if there is an issue with Jenkins 
resources. No problem, enough resources left
3. Installed and used the plugin "Windows exe runner", but have the same 
issue.


I would appreciate if any advise or some pointers can be given to me to 
progress. So many thanks.

Regards,
Balu

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e4ab8bdc-8dd7-4fa4-8608-6cf14b15e736%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to