Sunday, 25 August 2013

bulk size text parameters in jenkins report error

bulk size text parameters in jenkins report error

I have a build with a text parameters in Jenkins, when I input big data
into text area and try to build, it comes
[TEST-save_txt_to_file] $ /bin/sh -xe /tmp/hudson3834163952953567847.sh
FATAL: command execution failed
java.io.IOException: Cannot run program "/bin/sh" (in directory
"/var/lib/jenkins/workspace/TEST-save_txt_to_file"): java.io.IOException:
error=7, Argument list too long
at java.lang.ProcessBuilder.start(Unknown Source)
at hudson.Proc$LocalProc.(Proc.java:244)
at hudson.Proc$LocalProc.(Proc.java:216)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:763)
at hudson.Launcher$ProcStarter.start(Launcher.java:353)
at hudson.Launcher$ProcStarter.join(Launcher.java:360)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:91)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:593)
at hudson.model.Run.execute(Run.java:1568)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)
Caused by: java.io.IOException: java.io.IOException: error=7, Argument
list too long
at java.lang.UNIXProcess.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 17 more
Build step 'Execute shell' marked build as failure
Finished: FAILURE
Is there any workaround? Thanks!
my ENV:
java.runtime.version 1.6.0_41-b02 org.jenkins-ci.main:jenkins-war:1.502

No comments:

Post a Comment