Re: InstallShield plugin usage
Hello Richard, I have not provided quotes exclusively for the exe path. Somehow in the error, it's there. InstallShield plugin configuration takes the exe path alone as the input. Maybe like rginga said, the person who developed the plugin as a school project designed it to work only if the InstallShield tool was installed on the master itself. I will use the Windows batch command itself for the installer builds. Thank you all for responding to my query. Anitha On Wednesday, 11 March 2015 02:16:39 UTC+5:30, Richard Bywater wrote: On the OSError line there appears to be two sets of quotes - C:\Program Files (x86)\InstallShield\2013 SP1 SAB\System\ISCmdBld.exe Not sure if that's significant or not - do you specify the location of InstallShield in the Slaves Tool locations and, if so, have you got that quoted or something? (Sorry never used the plugin so have no idea what the user experience is :) ) Richard. On Wed, Mar 11, 2015 at 12:55 AM, Anitha Kabil Raj anithak...@gmail.com javascript: wrote: Hello All, I'm using InstallShield plugin to build my InstallShield project file (.ism). I have installed InstallShield software on a slave, and trying to build the project from the slave itself. I'm getting the following error. Everything works fine if I call IsCmdBld.exe from the windows batch command, and also when InstallShield is installed on the master itself, and if I build the project in the master. I'm seeing the error only when InstallShield software is available only on slave. Executing command: C:\Program Files (x86)\InstallShield\2013 SP1 SAB\System\ISCmdBld.exe -p C:\TestIS\Installer\Test.ism ERROR: Build step failed with exception *Traceback (most recent call last)* http://stacktrace.jenkins-ci.org/search?query=Traceback%20(most%20recent%20call%20last) : File string, line 1, in module File C:\Program Files (x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py, line 82, in perform popen = subprocess.Popen(command, shell=False, File C:\Program Files (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py, line 751, in __init__ File C:\Program Files (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py, line 1265, in _execute_child OSError: Cannot run program C:\Program Files (x86)\InstallShield\2013 SP1 SAB\System\ISCmdBld.exe (in directory C:\Program Files (x86)\Jenkins): CreateProcess error=2, The system cannot find the file specified at org.python.core.PyException.doRaise(PyException.java:219) at org.python.core.Py.makeException(Py.java:1239) at org.python.core.Py.makeException(Py.java:1243) at org.python.core.Py.makeException(Py.java:1247) at subprocess$py._execute_child$36(C:\Program Files (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py:1266) at subprocess$py.call_function(C:\Program Files (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:201) at subprocess$py.__init__$19(C:\Program Files (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py:840) at subprocess$py.call_function(C:\Program Files (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19) at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1057) at org.python.core.PyType.type___call__(PyType.java:1565) at org.python.core.PyType.__call__(PyType.java:1548) at org.python.core.PyObject.__call__(PyObject.java:320) at org.python.pycode._pyx10.perform$3(C:\Program Files (x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py:93) at org.python.pycode._pyx10.call_function(C:\Program Files (x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:166) at org.python.core.PyFunction.__call__
Re: get the console output of all the Phase used as part of multiplugin in a email
Were you able to get this done? I have a similar requirement. Thanks, Anitha On Friday, 10 October 2014 00:11:29 UTC+5:30, lp wrote: HI, I am using the Jenkins v1.572. and multiplugin as i have around 5 different phases in the project I am able to run the job successfully.As part of the email content i am trying to get all the job console output details in a single mail.. Need to know what is the setting i need to make as part of this. Presently i am able to see the email content Started by timer [EnvInject] - Loading node environment variables. Building in workspace * http://alqb-ct01.lab.opentext.com:8080/job/EmpowerCordys_PE_Nightly_build/ws/ * No emails were triggered. Starting build job Building_PE. Finished Build : #21 of Job : Building_PE with status :SUCCESS Starting build job WAR file creation. Finished Build : #7 of Job : WAR file creation with status :SUCCESS Starting build job Run Unit test scripts. Finished Build : #7 of Job : Run Unit test scripts with status :FAILURE Build step 'MultiJob Phase' marked build as failure Recording test results i want to get the each jobs complete console output details. Can anyone help me in this. Regards Latha -- 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/e52136d2-5a44-41b3-a3d7-6fb4c648917e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Modifying e-mail content
Dear team, I'm trying to get the build result reflected in my e-mail body. I need to get the result of each build step from the log, and put it as the e-mail content. In pre-send script I understand that I need to have a groovy script that serves the purpose. Can anyone help me on this? Thanks, Anitha -- 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/aec30be4-b15e-4e28-a8d2-ba988f46b088%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Build using devenv.exe from Jenkins
Thanks much Kelly. It worked. On Tuesday, 17 February 2015 18:02:47 UTC+5:30, kfhickel wrote: In your script, add /useenv as an argument to devenv.exe. e.g.: instead of devenv.exe proj.sln, you want to issue devenv /useenv proj.sln. -Kelly On Tuesday, February 17, 2015 at 5:32:29 AM UTC-6, Anitha Kabil Raj wrote: Hello Group, I have recently started using Jenkins for automating builds. I tried using MSBUILD plugin for building VC++ project using devnev.exe. I couldn't use it as the quotes around the configuration I was trying to build, Release|Win32 was getting stripped. Is there any update available on this issue, or any workaround on same? Now running devenev.exe from batch script. Here I see that the INCLUDE environment variable that I set is not getting picked by the project while build, hence the build fails. It is failing to include files from Windows DDK path, even after providing the path in INCLUDE variable. Anyone in group faced similar issue. Since none of the these methods worked, I'm stuck and not able to proceed further. Thanks in advance for the help, Anitha -- 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/5229e5a8-250d-49da-b9ea-549412097b33%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Build using devenv.exe from Jenkins
Thanks for the suggestion. I tried using msbuild now. But there is there a way to get the INCLUDE path set. All except the projects using files from Windows DDK path is getting built successfully. On Tuesday, 17 February 2015 19:26:36 UTC+5:30, rginga wrote: I use MSBUILD a lot. This is what my steps look like: *From:* jenkins...@googlegroups.com javascript: [mailto: jenkins...@googlegroups.com javascript:] *On Behalf Of *kfhickel *Sent:* Tuesday, February 17, 2015 7:33 AM *To:* jenkins...@googlegroups.com javascript: *Subject:* Re: Build using devenv.exe from Jenkins In your script, add /useenv as an argument to devenv.exe. e.g.: instead of devenv.exe proj.sln, you want to issue devenv /useenv proj.sln. -Kelly On Tuesday, February 17, 2015 at 5:32:29 AM UTC-6, Anitha Kabil Raj wrote: Hello Group, I have recently started using Jenkins for automating builds. I tried using MSBUILD plugin for building VC++ project using devnev.exe. I couldn't use it as the quotes around the configuration I was trying to build, Release|Win32 was getting stripped. Is there any update available on this issue, or any workaround on same? Now running devenev.exe from batch script. Here I see that the INCLUDE environment variable that I set is not getting picked by the project while build, hence the build fails. It is failing to include files from Windows DDK path, even after providing the path in INCLUDE variable. Anyone in group faced similar issue. Since none of the these methods worked, I'm stuck and not able to proceed further. Thanks in advance for the help, Anitha -- 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-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c7a7258d-c128-4833-a651-b52632298232%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/c7a7258d-c128-4833-a651-b52632298232%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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/6fef84c4-7d14-4f82-bd92-518c3695a2a5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Build using devenv.exe from Jenkins
Hello Group, I have recently started using Jenkins for automating builds. I tried using MSBUILD plugin for building VC++ project using devnev.exe. I couldn't use it as the quotes around the configuration I was trying to build, Release|Win32 was getting stripped. Is there any update available on this issue, or any workaround on same? Now running devenev.exe from batch script. Here I see that the INCLUDE environment variable that I set is not getting picked by the project while build, hence the build fails. It is failing to include files from Windows DDK path, even after providing the path in INCLUDE variable. Anyone in group faced similar issue. Since none of the these methods worked, I'm stuck and not able to proceed further. Thanks in advance for the help, Anitha -- 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/411cb15f-6a0e-45a9-9127-d4d4be35c396%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.