Status: Resolved (View Workflow)
Jenkins 1.626 server on windows 7
Accurev plugin 0.6.33
Agent on OS X Yosemite 10.10.5 mac mini, with accurev client 6.2.1
This combination does not work out of the box.
I'm getting this error: ....FATAL: AccuRev binary is not found or not set in the environment's path.....
I have been able to run accurev commands from a Execute shell like: accurev help
Provided i pass a environment variable i the node properties like:
I have tried several combinations of vars like setting a environment var like ACCUREV_BIN
But nothing seems to satisfy the search path of the plugin.
Perhaps the default installation folder of Accurev on mac, has drifted away form the expectations of the plugin.
I have had no response what so ever except from your comment. Is Accurev slowly leaving the marked?
Is there any version of Mac OS that it does work on? I looked at the source and it does seem right, I wonder if some extra permission is needed in the new OS? - Any of the maintainers know?
I have looked at the source as well, but cant seem to finde the flaw. It seems like the install path of Accurev has changed to /Applications/AccuRev/bin, but no matter how i try to add this path to the environment vars %PATH% or %ACCUREV_BIN%, the plugin does not work. I can get Accurev to respon to a "shell execute" from jenkins like: "accurev help", "accurev info" or "accurev show users". I would sure like some one from Accurev to respond.
Have you tried recompiling the plugin with a direct path? I am getting desperate here. Need something working in like a week and no one seems to want to respond on this.
Added /Applications/Accurev to default search location, in 0.7.0
I would recommend for scripting purpose to use ssh for slaves. The user you connect as would have to add this to the .bashrc file in their user homefolder.
export ACCUREV_BIN=/Applications/AccuRev/bin export PATH=$PATH:$ACCUREV_BIN
I am having this problem as well, any updates?