Am Mittwoch, 8. Juni 2016 00:30:32 UTC+2 schrieb ziffification:
>
>
> I have rake running as default OS version of ruby 
>
>
>
>
> Building in workspace /var/lib/jenkins/workspace/test2
> [test2] $ rake --rakefile /var/lib/jenkins/workspace/test2/Rakefile features
> FATAL: rake execution failedjava.io.IOException 
> <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: Cannot 
> run program "rake" (in directory "/var/lib/jenkins/workspace/test2"): 
> error=2, No such file or directory
>
>
> if I run rake from the command line as myself it all works:
>
> [robm@pp000c2929b742 test2]$ rake --rakefile 
> /var/lib/jenkins/workspace/test2/Rakefile features
> /usr/bin/ruby -I "lib" 
> "/usr/local/share/gems/gems/cucumber-2.3.3/bin/cucumber" --format json 
> features/testEbiSingle.feature > /var/lib/jenkins/workspace/test2/report.json
> [robm@pp000c2929b742 test2]$
>
>
>
>
>
.bashrc is only read if the shell is interactive.  Either explicitly set 
the path in your job, or call rake with absolute pathes. See man bash for 
details.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9cd8a657-9c5c-47d7-910d-cb99aae7be09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to