SyntaxError: /home/jenkins/.rbenv/shims/bundle:3: syntax error, unexpected tSTRING_BEG [ -n “$RBENV_DEBUG” ] && set -x
The following:
java -cp <jarpath> org.jruby.Main -S bundle exec cucumber features
runs in jenkins master, but I get the following error in slave.
SyntaxError: /home/jenkins/.rbenv/shims/bundle:3: syntax error, unexpected tSTRING_BEG [ -n "$RBENV_DEBUG" ] && set -x
If I use it without -cp
, it says:
could not find or load Main class in <jarpath>
Any help is appreciated.
Comments
Post a Comment