I don't think the build flow supports running a shell script directly, you
would need to build() a job that executes the shell script.

On Wed, Oct 15, 2014 at 2:48 AM, niraj nandane <[email protected]>
wrote:

> I have installed "Build Flow Plugin" and created a build flow project .
> The commands like build("project-name") are working fine.
> I want to execute a shell script which is at /root/niraj/muscript.sh
> ,which build the system. so i am doing like this
> shell(" /root/niraj/muscript.sh") . But it is showing error.
>
> Started by user anonymous 
> <http://vom-esx6-vm13.samgpunb.symantec.com:8080/user/null>
> ERROR: Failed to run DSL Scriptgroovy.lang.MissingMethodException 
> <http://stacktrace.jenkins-ci.org/search?query=groovy.lang.MissingMethodException>:
>  No signature of method: com.cloudbees.plugins.flow.FlowDelegate.shell()
> is applicable for argument types: (java.lang.String) values: [muscript.sh]
>
>
> can anyone tell me ? its urgent
>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Website: http://earl-of-code.com

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to