Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/libvirt-slave-plugin
  Commit: 18c3541124d04c09348a8e4e5733f3c0a3b92cb7
      
https://github.com/jenkinsci/libvirt-slave-plugin/commit/18c3541124d04c09348a8e4e5733f3c0a3b92cb7
  Author: Benoit Guerin <bgue...@netceler.com>
  Date:   2021-03-26 (Fri, 26 Mar 2021)

  Changed paths:
    M CHANGELOG.md
    A src/main/java/hudson/plugins/libvirt/ComputerUtils.java
    M src/main/java/hudson/plugins/libvirt/LibvirtRunListener.java
    M src/main/java/hudson/plugins/libvirt/LibvirtSnapshotRevertRunListener.java
    M src/main/java/hudson/plugins/libvirt/VirtualMachineLauncher.java
    M src/main/java/hudson/plugins/libvirt/VirtualMachineSlave.java
    M src/main/java/hudson/plugins/libvirt/VirtualMachineSlaveComputer.java

  Log Message:
  -----------
  JENKINS-50552: Fix triggering snapshot reverts

Configuring a snapshot revert within the project via the "Use Snapshots"
checkbox or via the "Revert Snapshot" and "Before Snapshot" options on the
node configuration does not work. Make the snapshot reverts trigger.

Introduce a ComputerUils class that is called from both RunListener
implementations and makes the LibvirtSnapshotRevertRunListener much simpler,
getting rid of deep if clauses.

[apply some non-functional changes (from warnings), add commit message]
Reviewed-by: Bastian Germann <b...@linutronix.de>


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/libvirt-slave-plugin/push/refs/heads/master/114bb6-18c354%40github.com.

Reply via email to