AccuRev with Jenkins Pipeline


Does anybody use or have tried to use AccuRev with Jenkins Pipeline?  I'd like to start using containers as agents with Pipeline, but am having trouble figuring out how to add scm steps that involve AccuRev.  I could just create steps with /usr/bin/accurev, but that seems like I'm reinventing the wheel as well as needing to do some dumb/insecure things with passwords.  I'd love to hear other's experiences or approaches. 

  • 0  

    After some trial and error, I have found that using the "Pipeline script from SCM" option in a Pipeline job is a valid approach.  One limitation is that a Jenkinsfile must be maintained in the source tree.  This enables a Jenkins Pipeline job to start on any available agent, "pop" the needed AccuRev stream, map the workspace into and start the container.