Branch: refs/heads/master Home: https://github.com/jenkinsci/mesos-plugin Commit: 1b0a499c417df6a9bab7b00c3177c684b8243558 https://github.com/jenkinsci/mesos-plugin/commit/1b0a499c417df6a9bab7b00c3177c684b8243558 Author: Vincent Latombe <vinc...@latombe.net> Date: 2016-03-04 (Fri, 04 Mar 2016)
Changed paths: M src/main/java/org/jenkinsci/plugins/mesos/JenkinsScheduler.java M src/main/java/org/jenkinsci/plugins/mesos/Mesos.java M src/main/java/org/jenkinsci/plugins/mesos/MesosCloud.java M src/main/java/org/jenkinsci/plugins/mesos/MesosImpl.java M src/main/java/org/jenkinsci/plugins/mesos/MesosSlaveInfo.java Log Message: ----------- Fix another case of duplicate framework registration Added a Garbage Collector to stop the scheduler and remove the mesos framework in case the cloud gets removed. Doing so, I found out that there was a problem related to credentialsId and usage of @DataBoundSetter : when the scheduler is restarted after constructor call (onDemandRegistration=false), credentialsId value is not yet set and this can cause a duplicate framework registration. So the field initialization has been moved to constructor. Last, added equals/hashCode implementations to MesosSlaveInfo and embedded classes, as these are necessary to compare MesosCloud instances, and these are used in Mesos#getInstance to prevent building duplicate MesosImpl instances. Commit: 7b40992af5e6709409029213f2c23ebe2542e35e https://github.com/jenkinsci/mesos-plugin/commit/7b40992af5e6709409029213f2c23ebe2542e35e Author: Vincent Latombe <vinc...@latombe.net> Date: 2016-03-07 (Mon, 07 Mar 2016) Changed paths: M src/main/java/org/jenkinsci/plugins/mesos/JenkinsScheduler.java M src/main/java/org/jenkinsci/plugins/mesos/Mesos.java Log Message: ----------- Restore stopScheduler() method Commit: 13e0ff728195ff5d1f1719f4cf996d6a16461e6f https://github.com/jenkinsci/mesos-plugin/commit/13e0ff728195ff5d1f1719f4cf996d6a16461e6f Author: Vincent Latombe <vinc...@latombe.net> Date: 2016-03-07 (Mon, 07 Mar 2016) Changed paths: M src/main/java/org/jenkinsci/plugins/mesos/Mesos.java M src/main/java/org/jenkinsci/plugins/mesos/MesosCloud.java M src/main/java/org/jenkinsci/plugins/mesos/MesosImpl.java M src/main/java/org/jenkinsci/plugins/mesos/MesosSlaveInfo.java Log Message: ----------- Merge pull request #215 from Vlatombe/duplicate-framework Fix another case of duplicate framework registration Compare: https://github.com/jenkinsci/mesos-plugin/compare/d8b69607b6ca...13e0ff728195 -- 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. For more options, visit https://groups.google.com/d/optout.