Jenkins bulid get an error message: error=7, Argument list too long

What’s  occured?

When Jenkins triggered a  build job defines as “Free-Style Project”, a build failed with this error message

[starfish-verify-drd] $ /bin/bash /tmp/

FATAL: command execution failed error=7, Argument list too long

	at java.lang.UNIXProcess.forkAndExec(Native Method)

	at java.lang.UNIXProcess.<init>(

	at java.lang.ProcessImpl.start(

	at java.lang.ProcessBuilder.start(

Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to swfarm-gateuobld17

		at hudson.remoting.Channel.attachCallSiteStackTrace(

		at hudson.remoting.UserResponse.retrieve(


		at hudson.Launcher$RemoteLauncher.launch(

		at hudson.Launcher$ProcStarter.start(

		at hudson.tasks.CommandInterpreter.perform(

		at hudson.tasks.CommandInterpreter.perform(

		at hudson.tasks.BuildStepMonitor$1.perform(

		at hudson.model.AbstractBuild$AbstractBuildExecution.perform(

		at hudson.model.Build$

		at hudson.model.Build$BuildExecution.doRun(

		at hudson.model.AbstractBuild$

		at hudson.model.Run.execute(


		at hudson.model.ResourceController.execute(


Caused: Cannot run program "/bin/bash" (in directory "/vol/users/gatekeeper.tvsw/cerberus_root/starfish-verify-drd"): error=7, Argument list too long

	at java.lang.ProcessBuilder.start(


  • One argument must not be longer than MAX_ARG_STRLEN (131072 bytes)



Author: all4dich

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s