Re: AbstractLazyLoadRunMap bug in Jenkins 1.488
Is someone working on this issue ? In the endeffect it completly breaks jenkins. Can we help analyzing it? The code for this AbstractLazyLoadRunMapis really a little bit strange and i don't want to mess with it. Andreas
[no subject]
Hi I used to find the following options in the Jenkins's Manage Jenkins page? 1) System Log 2) System Information But now they are not there any more in Jenkins 1.489, they have been removed for some reasons??? -- Hez
SCM plugin - NPE when changing settings
Hi all, Im having a customized version of the surround scm plugin. Ive added a few more configuration parameters and now once ive change the configuration after the job runs i get this nasty NPE. I need to reload configuration from disk and change the settings right away before it runs again. Can someone help finding the issue with my configuration. Thanks in advance Jorge Costa Exception: java.lang.RuntimeException: Failed to serialize hudson.model.AbstractProject#scm for class hudson.model.FreeStyleProject Stacktrace: javax.servlet.ServletException: java.lang.RuntimeException: Failed to serialize hudson.model.AbstractProject#scm for class hudson.model.FreeStyleProject at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:616) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488) at org.kohsuke.stapler.Stapler.service(Stapler.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: Failed to serialize hudson.model.AbstractProject#scm for class hudson.model.FreeStyleProject at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:207) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:175) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:160) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:101) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38) at com.thoughtworks.xstream.XStream.marshal(XStream.java:840) at
What's the right way to provide server-specific configuration files in Jenkins or CI in general?
In *CI*, we usually take out a fresh copy, and changes in the repository are detected and build started. But in some cases, the local repositories at various servers have different values for some constants in their configuration files that is specific to each server (the mailing address might be different, or logging is enabled/disabled at a particular server). *I have around 10 files that are locally modified according to the needs of each server* My question is what's the best way to handle these changes in the CI philosophy, whether, after taking out a fresh copy at each server, server-related changes should be made manually (once) and then we should follow the normal procedure of detecting changes to the repository through SVN
Jenkins not correctly executing Maven task starting forked jetty.
Jenkins version: 1.461 http://jenkins-ci.org/ We are attempting to start a Jetty server in forked mode at the end of a build pipeline. It all works, except for the forking part, that doesn't seem to work eventhough a non-forked attempt does work. Even executing the exact same Maven command on the same system as of which Jenkins is installed it works, both in forked as non-forked variation. I had no clue as to what is going on, no logging, no errors, no nothing actually. So starting the Jenkins job with switches -e -X gave me the following command that gets ran: (bear with me) [DEBUG] [/usr/lib/jvm/jdk1.6.0_29/jre/bin/java, -Denv=thomas, -cp,
Execute shell failure
I am fairly new user of Jenkins, just installed it on my local mac machine. I created a job to run few commands which run successfully from xterm, though coming across following error on jenkins. Not sure what I am doing wrong here? Job is running: -- Execute shell: - pwd cd /Users/rpatel/Documents/MobSources/XX_iOS cucumber --format json --out result.json - Console output: - Building in workspace /Users/Shared/Jenkins/Home/workspace/XX-Calabash-iOS [XX-Calabash-iOS] $ /bin/sh -xe /var/folders/c0/rzt3wbtj3j11yp13rfmhxyww7c/T/hudson4166321227994340301.sh + pwd /Users/Shared/Jenkins/Home/workspace/XX-Calabash-iOS + cd /Users/rpatel/Documents/MobSources/XX_iOS /var/folders/c0/rzt3wbtj3j11yp13rfmhxyww7c/T/hudson4166321227994340301.sh: line 3: cd: /Users/rpatel/Documents/MobSources/XX_iOS: Not a directory Build step 'Execute shell' marked build as failure Finished: FAILURE Thanks, Rakesh
Re: Execute shell failure
Rakesh, Does this directory acutally exist? /Users/rpatel/Documents/MobSources/XX_iOS Can use cd to this dir manually? Kind Regards, Mgimza On Tue, Nov 6, 2012 at 2:13 PM, rakesh rpa...@mobiquityinc.com wrote: I am fairly new user of Jenkins, just installed it on my local mac machine. I created a job to run few commands which run successfully from xterm, though coming across following error on jenkins. Not sure what I am doing wrong here? Job is running: -- Execute shell: - pwd cd /Users/rpatel/Documents/MobSources/XX_iOS cucumber --format json --out result.json - Console output: - Building in workspace /Users/Shared/Jenkins/Home/workspace/XX-Calabash-iOS [XX-Calabash-iOS] $ /bin/sh -xe /var/folders/c0/rzt3wbtj3j11yp13rfmhxyww7c/T/hudson4166321227994340301.sh + pwd /Users/Shared/Jenkins/Home/workspace/XX-Calabash-iOS + cd /Users/rpatel/Documents/MobSources/XX_iOS /var/folders/c0/rzt3wbtj3j11yp13rfmhxyww7c/T/hudson4166321227994340301.sh: line 3: cd: /Users/rpatel/Documents/MobSources/XX_iOS: Not a directory Build step 'Execute shell' marked build as failure Finished: FAILURE Thanks, Rakesh
Re: Execute shell failure
Hi, Another point to check is user rights : does jenkins' user have access to this folder ? cheers, Josselin 2012/11/6 Marek Gimza marekgi...@gmail.com Rakesh, Does this directory acutally exist? /Users/rpatel/Documents/MobSources/XX_iOS Can use cd to this dir manually? Kind Regards, Mgimza On Tue, Nov 6, 2012 at 2:13 PM, rakesh rpa...@mobiquityinc.com wrote: I am fairly new user of Jenkins, just installed it on my local mac machine. I created a job to run few commands which run successfully from xterm, though coming across following error on jenkins. Not sure what I am doing wrong here? Job is running: -- Execute shell: - pwd cd /Users/rpatel/Documents/MobSources/XX_iOS cucumber --format json --out result.json - Console output: - Building in workspace /Users/Shared/Jenkins/Home/workspace/XX-Calabash-iOS [XX-Calabash-iOS] $ /bin/sh -xe /var/folders/c0/rzt3wbtj3j11yp13rfmhxyww7c/T/hudson4166321227994340301.sh + pwd /Users/Shared/Jenkins/Home/workspace/XX-Calabash-iOS + cd /Users/rpatel/Documents/MobSources/XX_iOS /var/folders/c0/rzt3wbtj3j11yp13rfmhxyww7c/T/hudson4166321227994340301.sh: line 3: cd: /Users/rpatel/Documents/MobSources/XX_iOS: Not a directory Build step 'Execute shell' marked build as failure Finished: FAILURE Thanks, Rakesh
Re: Execute shell failure
Yes, I ran this cmd from xterm. Is there a permission issue here? I did think about adding a user with privileges, but wasn't able to add a user in jenkins. Thanks, Rakesh On Tuesday, November 6, 2012 2:33:27 PM UTC-5, mgimza wrote: Rakesh, Does this directory acutally exist? /Users/rpatel/Documents/MobSources/XX_iOS Can use cd to this dir manually? Kind Regards, Mgimza On Tue, Nov 6, 2012 at 2:13 PM, rakesh rpa...@mobiquityinc.comjavascript: wrote: I am fairly new user of Jenkins, just installed it on my local mac machine. I created a job to run few commands which run successfully from xterm, though coming across following error on jenkins. Not sure what I am doing wrong here? Job is running: -- Execute shell: - pwd cd /Users/rpatel/Documents/MobSources/XX_iOS cucumber --format json --out result.json - Console output: - Building in workspace /Users/Shared/Jenkins/Home/workspace/XX-Calabash-iOS [XX-Calabash-iOS] $ /bin/sh -xe /var/folders/c0/rzt3wbtj3j11yp13rfmhxyww7c/T/hudson4166321227994340301.sh + pwd /Users/Shared/Jenkins/Home/workspace/XX-Calabash-iOS + cd /Users/rpatel/Documents/MobSources/XX_iOS /var/folders/c0/rzt3wbtj3j11yp13rfmhxyww7c/T/hudson4166321227994340301.sh: line 3: cd: /Users/rpatel/Documents/MobSources/XX_iOS: Not a directory Build step 'Execute shell' marked build as failure Finished: FAILURE Thanks, Rakesh
Re:
They are named: Jenkins CLI for some reason. You can also get there via these links: http://jenkins.company.com/systemInfo http://jenkins.company.com/log On Tue, Nov 6, 2012 at 2:06 AM, hezjing hezj...@gmail.com wrote: Hi I used to find the following options in the Jenkins's Manage Jenkins page? 1) System Log 2) System Information But now they are not there any more in Jenkins 1.489, they have been removed for some reasons??? -- Hez
Re:
Also see https://issues.jenkins-ci.org/browse/JENKINS-15732 which has a pull request to fix it. On Tue, Nov 6, 2012 at 12:51 PM, Larry Shatzer, Jr. lar...@gmail.comwrote: They are named: Jenkins CLI for some reason. You can also get there via these links: http://jenkins.company.com/systemInfo http://jenkins.company.com/log On Tue, Nov 6, 2012 at 2:06 AM, hezjing hezj...@gmail.com wrote: Hi I used to find the following options in the Jenkins's Manage Jenkins page? 1) System Log 2) System Information But now they are not there any more in Jenkins 1.489, they have been removed for some reasons??? -- Hez
Re: Execute shell failure
Hi Josselin, How do I check this? -Rakesh On Tuesday, November 6, 2012 2:43:39 PM UTC-5, Josselin Pierre wrote: Hi, Another point to check is user rights : does jenkins' user have access to this folder ? cheers, Josselin 2012/11/6 Marek Gimza marek...@gmail.com javascript: Rakesh, Does this directory acutally exist? /Users/rpatel/Documents/MobSources/XX_iOS Can use cd to this dir manually? Kind Regards, Mgimza On Tue, Nov 6, 2012 at 2:13 PM, rakesh rpa...@mobiquityinc.comjavascript: wrote: I am fairly new user of Jenkins, just installed it on my local mac machine. I created a job to run few commands which run successfully from xterm, though coming across following error on jenkins. Not sure what I am doing wrong here? Job is running: -- Execute shell: - pwd cd /Users/rpatel/Documents/MobSources/XX_iOS cucumber --format json --out result.json - Console output: - Building in workspace /Users/Shared/Jenkins/Home/workspace/XX-Calabash-iOS [XX-Calabash-iOS] $ /bin/sh -xe /var/folders/c0/rzt3wbtj3j11yp13rfmhxyww7c/T/hudson4166321227994340301.sh + pwd /Users/Shared/Jenkins/Home/workspace/XX-Calabash-iOS + cd /Users/rpatel/Documents/MobSources/XX_iOS /var/folders/c0/rzt3wbtj3j11yp13rfmhxyww7c/T/hudson4166321227994340301.sh: line 3: cd: /Users/rpatel/Documents/MobSources/XX_iOS: Not a directory Build step 'Execute shell' marked build as failure Finished: FAILURE Thanks, Rakesh
Specifying Branches to Poll for ClearCase Plugin
All, Under Source Code Management in Base ClearCase for the ClearCase plugin, how do I specify the mainline as a branch to poll? I'm unsure of the syntax as the ClearCase plugin page only shows how to specify all of the branches of a file or a specific branch which is not the mainline.
Re: Run a program (as a .exe file) as a post build task
Anybody has idea how to do this? On Monday, November 5, 2012 1:59:55 PM UTC+11, Roshan wrote: Hi Currently I am using Jenkins ver. 1.488 http://jenkins-ci.org/ to build my maven 3 project. As a part of the build process, I want to execute an application program (.exe file on windows 7) as a post build process. But I am end with the issue https://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build mention in jenkin wiki. I tried with the given workarounds, but no luck. Could someone please help me to solve this. Many Thanks, Roshan.
RE: EXTERNAL: Specifying Branches to Poll for ClearCase Plugin
If you are asking about the ability to poll multiple branches, the answer is Yes. In the “Branch(es)” field, you can specify multiple branches by separating them by a whitespace. For example, if you want to poll both a specific integration branch and the “/main” branch, your field value would look like this: main acme-1.0_int Be sure to list all modifiable VOBs in the “Load rules” field even if you are using a dynamic view. Jenkins uses the load rules when searching for changes in the case of dynamic views. -Jeff Ng From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Chris Wozny Sent: Tuesday, November 06, 2012 1:18 PM To: jenkinsci-users@googlegroups.com Subject: EXTERNAL: Specifying Branches to Poll for ClearCase Plugin All, Under Source Code Management in Base ClearCase for the ClearCase plugin, how do I specify the mainline as a branch to poll? I'm unsure of the syntax as the ClearCase plugin page only shows how to specify all of the branches of a file or a specific branch which is not the mainline.
Re: Run Tests Distributed
Hi Brian, I am very interested. Can you show me more of the setup? thanks Luc On Saturday, June 2, 2012 8:27:16 AM UTC-4, BrianParker wrote: Unless I'm mistaken, I think using the multiconfiguration job type would require that the tests to run and the distribution of those tests is static (at job config time) rather than dynamic (determined at job runtime). If you need it to be dynamic, you could do something like this using the Parameterized Trigger plugin. Create a test runner job which accepts the tests to run as a parameter (for example a string comma separated list of tests). The test runner job should be configured to execute concurrently. A parent job uses a parameter factory to trigger the test runner multiple times, in parallel (concurrently). There is an out-of-the-box parameter factory that looks for property files, that may work for you. A build step that runs prior to the trigger (in the parent job), will need to calculate the number to test runner jobs to invoke and which tests they should each execute. Also, you'll have to collect the test results. I hope that made sense. There are a lot of details left out that would depend on the actual test framework you are using. Using that technique, we dispatch the execution of around 200 JBehave stories (executing webdriver) to the same number of parallel test runner invocations running across a Jenkins grid of slaves (not Selenium grid). We have customized versions of the parameterized trigger and copy artifacts plugins to achieve our particular needs. A test run that would take over 10 hours serially can be finished in under 20 mins. Cheers, Brian On Mon, May 28, 2012 at 1:29 PM, Harsh Kumar harsh...@gmail.comjavascript: wrote: Hi, I intend to do parallel runs of my tests in multiple machines. For eg, i have a test suite of 10,000 tests. I have 100 test machines and hence if i could divide these 10,000 tests among 100 machines and run that would save me time. Do you think there is a plug-in to do something similar or do i need to write one. Regards, Harsh Kumar On Mon, May 28, 2012 at 11:22 PM, Sami Tikka sjt...@gmail.comjavascript: wrote: Of course, you can split the tests into groups and use e.g. Multiconfiguration job to run the multiple test sets in multiple slaves at the same time. -- Sami Harsh harsh...@gmail.com javascript: kirjoitti 28.5.2012 kello 11.43: Hi, I have UI Automated Tests which i intend to run in parallel and need a plug-in for that. DistTest looks to run only jUnit test cases in parallel. Can you suggest a plugin. Regards, Harsh
SELENIUM_HOST Null error when launching Sauce Connect
I'm trying to run Safari and ipad autobuilds that use the Sauce onDemand Plugin. I'm leaving the SELENIUM_HOST and SELENIUM_PORT fields blank but getting the following error. Almost identical configuration is working for other browsers such as Chrome and Firefox. The console output advised me to report to this group, not sure what's different for Safari/ipad. FATAL: Null value not allowed as an environment variable: SELENIUM_HOSTjava.lang.IllegalArgumentException http://stacktrace.jenkins-ci.org/search?query=java.lang.IllegalArgumentException: Null value not allowed as an environment variable: SELENIUM_HOST at hudson.EnvVars.put(EnvVars.java:168) http://stacktrace.jenkins-ci.org/search/?query=hudson.EnvVars.putentity=method at hudson.EnvVars.put(EnvVars.java:64) http://stacktrace.jenkins-ci.org/search/?query=hudson.EnvVars.putentity=method at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.buildEnvVars(SauceOnDemandBuildWrapper.java:153) http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.buildEnvVarsentity=method at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:605) http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRunentity=method at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:589) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.runentity=method at hudson.model.Run.execute(Run.java:1516) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.executeentity=method at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.runentity=method at hudson.model.ResourceController.execute(ResourceController.java:88) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method at hudson.model.Executor.run(Executor.java:236) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method
Re: Jenkins failed to record SCM polling
The problem gone away after I downgraded Jenkins to 1.488. On Tue, Nov 6, 2012 at 5:20 PM, Dirk Kuypers kuypers.d...@gmail.com wrote: just vote for: https://issues.jenkins-ci.org/browse/JENKINS-15718 BR Dirk 2012/11/6 hezjing hezj...@gmail.com I made the conclusion too early, the problem is still there. The mercurial plugin is able to poll the changes for the 1st time, e.g. when the workspace directory is deleted. Then, it fails in the subsequent polling, e.g. when the workspace directory is created. On Tue, Nov 6, 2012 at 11:33 AM, hezjing hezj...@gmail.com wrote: Hi This problem is resolved by deleting the workspace directory. It looks like the problem occurred after Jenkins is restarted after the upgrade. On Tue, Nov 6, 2012 at 11:08 AM, hezjing hezj...@gmail.com wrote: Hi I'm using Jenkins 1.489 and Mercurial plugin 1.41. My Jenkins failed to poll Mercurial changes with the following error in the polling log: ERROR: Failed to record SCM polling for hudson.maven.MavenModuleSet@3c32fb80[.] java.lang.ArrayIndexOutOfBoundsException: 1 at hudson.Launcher$2.launch(Launcher.java:712) at hudson.Launcher$ProcStarter.start(Launcher.java:346) at hudson.plugins.mercurial.MercurialSCM.joinWithPossibleTimeout(MercurialSCM.java:309) at hudson.plugins.mercurial.MercurialSCM.pull(MercurialSCM.java:303) at hudson.plugins.mercurial.MercurialSCM.compareRemoteRevisionWith(MercurialSCM.java:252) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1471) at hudson.model.AbstractProject.poll(AbstractProject.java:1404) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Any idea? -- Hez -- Hez -- Hez -- Hez
Re: SELENIUM_HOST Null error when launching Sauce Connect
Ah looks like upgrading the Sauce onDemand Plugin from 1.27 -- 1.30 fixed the issue. On Tuesday, November 6, 2012 4:07:04 PM UTC-8, Trevor wrote: I'm trying to run Safari and ipad autobuilds that use the Sauce onDemand Plugin. I'm leaving the SELENIUM_HOST and SELENIUM_PORT fields blank but getting the following error. Almost identical configuration is working for other browsers such as Chrome and Firefox. The console output advised me to report to this group, not sure what's different for Safari/ipad. FATAL: Null value not allowed as an environment variable: SELENIUM_HOSTjava.lang.IllegalArgumentException http://stacktrace.jenkins-ci.org/search?query=java.lang.IllegalArgumentException: Null value not allowed as an environment variable: SELENIUM_HOST at hudson.EnvVars.put(EnvVars.java:168) http://stacktrace.jenkins-ci.org/search/?query=hudson.EnvVars.putentity=method at hudson.EnvVars.put(EnvVars.java:64) http://stacktrace.jenkins-ci.org/search/?query=hudson.EnvVars.putentity=method at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.buildEnvVars(SauceOnDemandBuildWrapper.java:153) http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.buildEnvVarsentity=method at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:605) http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRunentity=method at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:589) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.runentity=method at hudson.model.Run.execute(Run.java:1516) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.executeentity=method at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.runentity=method at hudson.model.ResourceController.execute(ResourceController.java:88) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method at hudson.model.Executor.run(Executor.java:236) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method
Re: Run a program (as a .exe file) as a post build task
If the ideas listed on that page didn't work, you could attempt to define the program to run as a service (google for exe to service for some possible examples). At the end of your job, you would NET STOP ServiceName, replace the executable with our service, then NET START ServiceName. Mark Waite From: Roshan codeva...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Tuesday, November 6, 2012 2:05 PM Subject: Re: Run a program (as a .exe file) as a post build task Anybody has idea how to do this? On Monday, November 5, 2012 1:59:55 PM UTC+11, Roshan wrote: Hi Currently I am using Jenkins ver. 1.488 to build my maven 3 project. As a part of the build process, I want to execute an application program (.exe file on windows 7) as a post build process. But I am end with the issue https://wiki.jenkins-ci. org/display/JENKINS/Spawning+ processes+from+build mention in jenkin wiki. I tried with the given workarounds, but no luck. Could someone please help me to solve this. Many Thanks, Roshan.