Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30336

Accurev plugin 0.6.33 does not work with Accurev installation on Mac ios Yosemite 10.10.5

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Fixed
    • accurev-plugin
    • None
    • 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

    Description

      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:
      name PATH
      value $PATH:/Applications/AccuRev/bin

      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.

      Attachments

        Activity

          I am having this problem as well, any updates?

          actieve Jeremy Tellier added a comment - I am having this problem as well, any updates?

          Hi Jeremy,
          I have had no response what so ever except from your comment. Is Accurev slowly leaving the marked?

          jom Jesper Mønsted added a comment - Hi Jeremy, 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?

          actieve Jeremy Tellier added a comment - 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.

          jom Jesper Mønsted added a comment - 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.

          The problem exists in OS X "El Capitan" version 10.11.1 as well.

          jom Jesper Mønsted added a comment - The problem exists in OS X "El Capitan" version 10.11.1 as well.

          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.

          actieve Jeremy Tellier added a comment - 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.

          File: /Users/jenkins/.bashrc
          Content:

          export ACCUREV_BIN=/Applications/AccuRev/bin
          export PATH=$PATH:$ACCUREV_BIN
          
          casz Joseph Petersen (old) added a comment - 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. File: /Users/jenkins/.bashrc Content: export ACCUREV_BIN=/Applications/AccuRev/bin export PATH=$PATH:$ACCUREV_BIN

          People

            jetersen Joseph Petersen
            jom Jesper Mønsted
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: