Branch: refs/heads/dev
  Home:   https://github.com/jenkinsci/azure-vm-agents-plugin
  Commit: 47d74c2dfed9e4cffd16e32bbdfe51364f9fdeaf
      
https://github.com/jenkinsci/azure-vm-agents-plugin/commit/47d74c2dfed9e4cffd16e32bbdfe51364f9fdeaf
  Author: Joe <57198376+quiji...@users.noreply.github.com>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M src/main/java/com/microsoft/azure/vmagent/AzureVMAgent.java
    M src/main/java/com/microsoft/azure/vmagent/AzureVMAgentTemplate.java
    M 
src/main/java/com/microsoft/azure/vmagent/AzureVMManagementServiceDelegate.java
    M src/main/java/com/microsoft/azure/vmagent/builders/AdvancedImage.java
    M 
src/main/java/com/microsoft/azure/vmagent/builders/AdvancedImageBuilder.java
    M 
src/main/java/com/microsoft/azure/vmagent/builders/AdvancedImageFluent.java
    M 
src/main/java/com/microsoft/azure/vmagent/builders/AzureVMTemplateBuilder.java
    M 
src/main/java/com/microsoft/azure/vmagent/remote/AzureVMAgentSSHLauncher.java
    M src/main/java/com/microsoft/azure/vmagent/util/TemplateUtil.java
    M 
src/main/resources/com/microsoft/azure/vmagent/AzureVMAgentTemplate/config.jelly
    M 
src/main/resources/com/microsoft/azure/vmagent/AzureVMAgentTemplate/config.properties
    A src/main/webapp/help-terminateScript.html
    M src/test/java/com/microsoft/azure/vmagent/test/ITAzureVMCloud.java
    M 
src/test/java/com/microsoft/azure/vmagent/test/ITAzureVMManagementServiceDelegate.java
    M src/test/java/com/microsoft/azure/vmagent/test/IntegrationTest.java
    M src/test/resources/com/microsoft/azure/vmagent/test/jcasc/advanced.yaml

  Log Message:
  -----------
  Termination Script Support (#177)

* Added support for Termination Script to Azure VM Agent.  When the agent 
begins deprovisioning a node the Termination Script can be set to execute right 
before as a means to make changes or save data from a node before it is removed.

* -Changed PrintStream to specify UTF8 encoding rather than using default

* -Changed flush interval constant to static

* -Fixed style issues with flush interval variable

* -Addressed several issues brought up in pull request
-Fixed styles on public accessors and removed checkstyle deactivation lines 
around it (initially misunderstood the way the style was supposed to be written)
-Removed unnecessary null check before instanceof usage as it was an artifact 
from an earlier design
-Swapped out logging thread code in favor of a Timer.  A repeated execution 
timer is more suited to the logging task and exits much more gracefully.

* -Changed out PrintStream reference to use the LogTaskListener logger object 
instead of the much more confusing OutputStream code
-Added some logic to determine if the terminate script should be skipped in the 
event of being unable to connect to the session.  In this version it will 
simply continue to run deprovisioning on that node, but it may be a good idea 
to add an option to not deprovision in the event of a terminate script failure

* Update AzureVMAgent.java


-- 
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/azure-vm-agents-plugin/push/refs/heads/dev/76bcf4-47d74c%40github.com.

Reply via email to