Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkins shared library library中调用sh('pwd')想执行一个shell脚本报错 #21

Open
somta opened this issue May 28, 2021 · 0 comments

Comments

@somta
Copy link

somta commented May 28, 2021

我在jenkins shared library library中调用sh('pwd')想执行一个shell脚本却报如下错误

hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: net.somta.PipelineFactoryBuilder.sh() is applicable for argument types: (java.lang.String) values: [pwd]
Possible solutions: is(java.lang.Object), use([Ljava.lang.Object;), any(), use(java.util.List, groovy.lang.Closure), any(groovy.lang.Closure), use(java.lang.Class, groovy.lang.Closure)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant