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

Revert Feature automatically selects the latest Snapshot

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • libvirt-slave-plugin
    • None
    • Jenkins LTS 1.509.4 on Debian Wheezy
      VM-Host is also wheezy with KVM

      To improve speed, we have all of our VMs on a tmpfs and they are generated with a script during boot time of the server (from Template-Images).

      We would like to use the revert-feature of your plugin to reset them to a defined state. However, since the snapshots are taken immediately after their creation, the snapshot names constantly change with every reboot of the KVM host (which should not happen that often, but if it does you have to update the definition of 20+ build nodes in jenkins to use a different snapshot...)

      Apparently, there is no easy way to change the name of a snapshot from the current timestamp to something like "latest-snapshot" (libvirt limitation) which could in turn always be used in the node-configuration within jeknins.

      So...would it be possible to add some kind of 'latest snapshot' setting to the revert feature? E.g. always look up the available snapshots and simply use the latest one?

      Regards,
      Rudolph Bott

            Unassigned Unassigned
            bott Rudolph Bott
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: