shiv Posted February 6, 2014 Posted February 6, 2014 (edited) Hi All, I am running my autoit script through Jenkins. but i do not understand that 1 how does .au3 file is converted to .exe file through Jenkins 2. In Jenkins job creation we have the option of "This build is parametrized" we have used Sting type parameter with name: autoit_version and with descripition version number 0.0.0.X (i dont understand this) Further we have used Jenkins job option Execute window batch command and running the below batch command cd autoIT.1.savedbuild1.0 .build-autoIT.bat %autoIT version% I dont understand this command, is this is the command which is compiling the .au3 file to .exe if yes how? Hey i found that "autoIT version" is not the version of autoit tool if its confusing you,it is just a label name in front of a textbox as version number 0.0.0.X, is just its description or value . suppose we have written 1.1.2.3 in the version number. so when we trigger the build version 1.1.2.3 will get executed. But i don't know how its gets compiled Edited February 6, 2014 by shiv
nullschritt Posted February 6, 2014 Posted February 6, 2014 in jenkins instead of running the batch file put the full path to aut2exe.exe in there. This is the file that turns au3 into exe.
shiv Posted February 6, 2014 Author Posted February 6, 2014 Thanks for reply. But by giving the path to aut2exe.exe. how would it come to know that it has to compile the file and which file. there may be some code for that and in Jenkins job how can we implement that. Well the compilation is done through aut2exe.exe in my jenkins job already. i have seen the logs and found that aut2exe is being used to compile the file. the question is that how does the above mentioned batch file doing this
nullschritt Posted February 6, 2014 Posted February 6, 2014 Thanks for reply. But by giving the path to aut2exe.exe. how would it come to know that it has to compile the file and which file. there may be some code for that and in Jenkins job how can we implement that. Well the compilation is done through aut2exe.exe in my jenkins job already. i have seen the logs and found that aut2exe is being used to compile the file. the question is that how does the above mentioned batch file doing this Look in "build-autoIT.bat" this batch file appears to contain the compiling code.
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