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

Enable rake plugin to create rvm gemset on the fly if it does not already exist

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • rake-plugin
    • None

      Background:
      The rake version dropdown list refers to all of the rvm environments which had existed on the system the last time the plugin was loaded or the last time the jenkins configuration page was saved.

      Problem:
      When creating new builds using the jenkins API, I want to also create isolated gemsets for the builds.

      • The plugin does not know about all of the existing gemsets during the build (the gemset may have been created on an earlier step of the build using the rvm Build environment setting)
      • The plugin does not create non-existing gemsets during the build

      Suggested Improvement:
      It would be nice for the dropdown list to be a combo box which allows free form text input. Then during a build, if the gemset entered is not known about yet, the rake plugin would

      1. attempt to read the environment for the specified gemset
      2. If number one fails, make an attempt at creating that gemset using rvm
      3. If that fails, fail the build

            david_calavera david_calavera
            brianfletcher Brian Fletcher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: