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

rake plugin should have a "bundle exec" option

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rake-plugin
    • None

      We have different jobs that require different versions of various ruby gems. To manage this, we use bundler, and I need to run "bundle exec rake ..." instead of running rake directly.

      Therefore, I am currently unable to use the rake plugin, and need to execute my rake tasks as a generic shell command.

      It would be great if there was a "bundle exec" option (maybe there's a better name, like "use Gemfile") which would handle this via the rake plugin.

      Bonus points for provided a "run 'bundle install' first" option (with a text field to specify bundle install options), because I also have to setup all my jobs with an initial build step to execute the shell command "bundle install [some job-dependent args]"

            david_calavera david_calavera
            amurray Adam Murray
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: