vikash Posted January 3, 2018 Posted January 3, 2018 Hi All, Could you please help me out. Not able to run the AutoIT script through Jenkins. Converted the AutoIt scripts into bat command. Created a job in jenkins and given the "Execute Windows Batch Command path as like " - D:\VanInstalled\build\run.bat and after that created a build. Please find the console: Started by user admin Building in workspace C:\Program Files (x86)\Jenkins\workspace\AutoItInstallation [AutoItInstallation] $ cmd /c call C:\Windows\TEMP\jenkins5692410678381486175.bat C:\Program Files (x86)\Jenkins\workspace\AutoItInstallation>D:\VanInstalled\build\run.bat C:\Program Files (x86)\Jenkins\workspace\AutoItInstallation>start "c:\windows\system32" D:\VanInstalled\build\Install_Vantage.exe Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information [htmlpublisher] Archiving HTML reports... Finished: SUCCESS Script is not ran through Jenkins. Please anyone come forward and share the experiences and help me out. Regards, Vikash Keshri 9916657732
vikash Posted January 3, 2018 Author Posted January 3, 2018 Hi All, Could you please help me out. Not able to run the AutoIT script through Jenkins. Converted the AutoIt scripts into bat command. Created a job in jenkins and given the "Execute Windows Batch Command path as like " - D:\VanInstalled\build\run.bat and after that created a build. Please find the console: Started by user admin Building in workspace C:\Program Files (x86)\Jenkins\workspace\AutoItInstallation [AutoItInstallation] $ cmd /c call C:\Windows\TEMP\jenkins5692410678381486175.bat C:\Program Files (x86)\Jenkins\workspace\AutoItInstallation>D:\VanInstalled\build\run.bat C:\Program Files (x86)\Jenkins\workspace\AutoItInstallation>start "c:\windows\system32" D:\VanInstalled\build\Install_Vantage.exe Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information [htmlpublisher] Archiving HTML reports... Finished: SUCCESS Script is not ran through Jenkins. Please anyone come forward and share the experiences and help me out. Regards, Vikash Keshri 9916657732
Developers Jos Posted January 3, 2018 Developers Posted January 3, 2018 (edited) @vikash, Please pay attention to where you post you question. This clear;y is NOT an example script but a question. Moved. EDIT: And crossposting your question multiple times is also a no go as in most forums! Jos Edited January 3, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Danp2 Posted January 3, 2018 Posted January 3, 2018 The forum has a search feature. You should try using it to search on the word "Jenkins" to find some possible solutions to your issue. Earthshine 1 Latest Webdriver UDF Release Webdriver Wiki FAQs
junkew Posted January 3, 2018 Posted January 3, 2018 Remove cmd /c and do call directly. Suggest to try first a clean run of ping.exe and when that works try what you need FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now